From 9508574dcb8c37ff1cb8211e2fe845b2703d9141 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 10 Jun 2012 15:38:56 +0200 Subject: A more modular prompt. --- fripost | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'fripost') diff --git a/fripost b/fripost index 5a80d70..0c31088 100755 --- a/fripost +++ b/fripost @@ -38,7 +38,7 @@ List matching virtual users. Change user password. -=item B add-domain [I [I]] +=item B add-domain [B<--force>] [I [I]] Add a new virtual domain. @@ -111,16 +111,17 @@ This can be useful if the user does not want to give the clear copy but only a hash, for example. Using this option disables the sending of credentials. -=item B add-domain [I [I]] +=item B add-domain [B<--force>] [I [I]] C is used add a new virtual domain to the system, unless B<--pretend> is set. If I is not given, the user is prompted for its value. By default, C prompts for the owner(s) of the new -domain; Use the empty string I<''> to create a "global" domain, only -managed by Fripost's administrators. -If I is an existing virtual domain, the owner(s) are simply -added to the list of managers. +domain; Use the empty string I<''> in the command line to create a +"global" domain, only managed by Fripost's administrators. +An error is raised if I is an existing virtual domain unless +B<--force> is set, in which case +I is simply added to the list of managers. =item B search-domain [I [I]] -- cgit v1.2.3