aboutsummaryrefslogtreecommitdiffstats
path: root/fripost
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-06-10 15:38:56 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-06-10 15:39:26 +0200
commit9508574dcb8c37ff1cb8211e2fe845b2703d9141 (patch)
tree644f3447611c04aea5356373224043d8ad560ed1 /fripost
parent05d7924b1c44e85a379b3ff5cca7b512383df769 (diff)
A more modular prompt.
Diffstat (limited to 'fripost')
-rwxr-xr-xfripost13
1 files changed, 7 insertions, 6 deletions
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<fripost> add-domain [I<domain> [I<username>]]
+=item B<fripost> add-domain [B<--force>] [I<domain> [I<username>]]
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<fripost> add-domain [I<domain> [I<username>]]
+=item B<fripost> add-domain [B<--force>] [I<domain> [I<username>]]
C<add-domain> is used add a new virtual domain to the system, unless
B<--pretend> is set.
If I<domain> is not given, the user is prompted for its value.
By default, C<add-domain> 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<domain> 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<domain> is an existing virtual domain unless
+B<--force> is set, in which case
+I<username> is simply added to the list of managers.
=item B<fripost> search-domain [I<domain> [I<username>]]