* NEWS, src/useradd.c: Fix the handling of the --defaults option
(it required an argument, but should behave as -D) * NEWS, man/useradd.8.xml: Document the --defaults option, which was already described in the useradd's Usage information.
This commit is contained in:
@ -932,7 +932,7 @@ static void process_flags (int argc, char **argv)
|
||||
{"base-dir", required_argument, NULL, 'b'},
|
||||
{"comment", required_argument, NULL, 'c'},
|
||||
{"home-dir", required_argument, NULL, 'd'},
|
||||
{"defaults", required_argument, NULL, 'D'},
|
||||
{"defaults", no_argument, NULL, 'D'},
|
||||
{"expiredate", required_argument, NULL, 'e'},
|
||||
{"inactive", required_argument, NULL, 'f'},
|
||||
{"gid", required_argument, NULL, 'g'},
|
||||
|
Reference in New Issue
Block a user