summaryrefslogtreecommitdiffstats
path: root/tests/tests/grouptools/gpasswd/63_gpasswd_usage_bad_option/data/usage.out
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/grouptools/gpasswd/63_gpasswd_usage_bad_option/data/usage.out')
-rw-r--r--tests/tests/grouptools/gpasswd/63_gpasswd_usage_bad_option/data/usage.out14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/tests/grouptools/gpasswd/63_gpasswd_usage_bad_option/data/usage.out b/tests/tests/grouptools/gpasswd/63_gpasswd_usage_bad_option/data/usage.out
new file mode 100644
index 0000000..587d234
--- /dev/null
+++ b/tests/tests/grouptools/gpasswd/63_gpasswd_usage_bad_option/data/usage.out
@@ -0,0 +1,14 @@
+gpasswd: invalid option -- 'Z'
+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
+ -Q, --root CHROOT_DIR directory to chroot into
+ -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.