Fix badname option to be singular just like useradd.
Badnames still accepted, note that previously usage already stated
singular form, whilst manpage and real one was plural only.
Fixes: 45d6746219 ("src: correct "badname" option")
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
This commit is contained in:
committed by
Serge Hallyn
parent
2e45fff44b
commit
088fe2618f
@@ -458,8 +458,8 @@ msgid "Add the user to the supplementary group(s). Use only with the <option>-G<
|
||||
msgstr "verleiht dem Benutzer zusätzliche, ergänzende Gruppenzugehörigkeiten. Kann nur zusammen mit der Option <option>-G</option> verwendet werden."
|
||||
|
||||
#: usermod.8.xml:112(term)
|
||||
msgid "<option>-b</option>, <option>--badnames</option>"
|
||||
msgstr "<option>-b</option>, <option>--badnames</option>"
|
||||
msgid "<option>-b</option>, <option>--badname</option>"
|
||||
msgstr "<option>-b</option>, <option>--badname</option>"
|
||||
|
||||
#: usermod.8.xml:116(para) useradd.8.xml:135(para) pwck.8.xml:190(para) newusers.8.xml:276(para)
|
||||
msgid "Allow names that do not conform to standards."
|
||||
|
||||
@@ -980,6 +980,7 @@ static void process_flags (int argc, char **argv)
|
||||
int c;
|
||||
static struct option long_options[] = {
|
||||
{"append", no_argument, NULL, 'a'},
|
||||
{"badname", no_argument, NULL, 'b'},
|
||||
{"badnames", no_argument, NULL, 'b'},
|
||||
{"comment", required_argument, NULL, 'c'},
|
||||
{"home", required_argument, NULL, 'd'},
|
||||
|
||||
Reference in New Issue
Block a user