aboutsummaryrefslogtreecommitdiff
path: root/loginutils/adduser.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/adduser.c')
-rw-r--r--loginutils/adduser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index 229bd679d..6c69aaf41 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -179,8 +179,8 @@ int adduser_main(int argc, char **argv)
179 pw.pw_shell = (char *)DEFAULT_SHELL; 179 pw.pw_shell = (char *)DEFAULT_SHELL;
180 pw.pw_dir = NULL; 180 pw.pw_dir = NULL;
181 181
182 /* check for min, max and missing args and exit on error */ 182 /* exactly one non-option arg */
183 opt_complementary = "-1:?1:?"; 183 opt_complementary = "=1";
184 getopt32(argc, argv, "h:g:s:G:DSH", &pw.pw_dir, &pw.pw_gecos, &pw.pw_shell, &usegroup); 184 getopt32(argc, argv, "h:g:s:G:DSH", &pw.pw_dir, &pw.pw_gecos, &pw.pw_shell, &usegroup);
185 argv += optind; 185 argv += optind;
186 186