summaryrefslogtreecommitdiff
path: root/tests/grouptools/gpasswd/66_gpasswd_usage_2_groups/data/usage.out
diff options
context:
space:
mode:
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>2011-09-23 17:46:57 +0000
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>2011-09-23 17:46:57 +0000
commit85f90d1aa2eddd8ef107714779b36549128949d8 (patch)
tree7a92726b021548f54d8bf8f0bcb5d08e86919107 /tests/grouptools/gpasswd/66_gpasswd_usage_2_groups/data/usage.out
parent2fcaf221405227c1305e77fc4b675ee92ce98456 (diff)
downloadshadow-85f90d1aa2eddd8ef107714779b36549128949d8.tar.gz
Add 12 tests for gpasswd.
Diffstat (limited to 'tests/grouptools/gpasswd/66_gpasswd_usage_2_groups/data/usage.out')
-rw-r--r--tests/grouptools/gpasswd/66_gpasswd_usage_2_groups/data/usage.out12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/grouptools/gpasswd/66_gpasswd_usage_2_groups/data/usage.out b/tests/grouptools/gpasswd/66_gpasswd_usage_2_groups/data/usage.out
new file mode 100644
index 00000000..e073b3c4
--- /dev/null
+++ b/tests/grouptools/gpasswd/66_gpasswd_usage_2_groups/data/usage.out
@@ -0,0 +1,12 @@
+Usage: gpasswd [option] GROUP
+
+Options:
+ -a, --add USER add USER to GROUP
+ -d, --delete USER remove USER from GROUP
+ -h, --help display this help message and exit
+ -r, --remove-password remove the GROUP's password
+ -R, --restrict restrict access to GROUP to its members
+ -M, --members USER,... set the list of members of GROUP
+ -A, --administrators ADMIN,...
+ set the list of administrators for GROUP
+Except for the -A and -M options, the options cannot be combined.