summaryrefslogtreecommitdiffstats
path: root/winsup/utils/mkpasswd.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-07-29 13:29:54 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-07-29 13:29:54 +0000
commitc72a0d361d3c1208114717a46497828eaba0626b (patch)
treefb9ebd7153407e19a28f270d9f5fca614ecddef2 /winsup/utils/mkpasswd.c
parent898e26c82f9f8b105f867516f7866c3479986628 (diff)
downloadcygnal-c72a0d361d3c1208114717a46497828eaba0626b.tar.gz
cygnal-c72a0d361d3c1208114717a46497828eaba0626b.tar.bz2
cygnal-c72a0d361d3c1208114717a46497828eaba0626b.zip
* mkgroup.c (usage): Move info message that this /etc/group isn't really
required anymore more to the top of the usage output. * mkpasswd.c (usage): Ditto for /etc/passwd. Drop old text from output.
Diffstat (limited to 'winsup/utils/mkpasswd.c')
-rw-r--r--winsup/utils/mkpasswd.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c
index a2c664ed1..66cf9f364 100644
--- a/winsup/utils/mkpasswd.c
+++ b/winsup/utils/mkpasswd.c
@@ -365,12 +365,15 @@ usage (FILE * stream)
"\n"
"Write /etc/passwd-like output to stdout\n"
"\n"
+"Don't use this command to generate a local /etc/passwd file, unless you\n"
+"really need one. See the Cygwin User's Guide for more information.\n"
+"\n"
"Options:\n"
"\n"
-" -l,--local [machine] print local user accounts with uid offset offset\n"
+" -l,--local [machine] print local user accounts\n"
" (from local machine if no machine specified)\n"
" -L,--Local machine ditto, but generate username with machine prefix\n"
-" -d,--domain [domain] print domain accounts with uid offset offset\n"
+" -d,--domain [domain] print domain accounts\n"
" (from current domain if no domain specified)\n"
" -c,--current print current user\n"
" -S,--separator char for -l use character char as domain\\user\n"
@@ -390,9 +393,7 @@ usage (FILE * stream)
" -V,--version version information and exit\n"
"\n"
"Default is to print local accounts on stand-alone machines, domain accounts\n"
-"on domain controllers and domain member machines.\n\n"
-"Don't use this command to generate a local /etc/passwd file, unless you\n"
-"really need one. See the Cygwin User's Guide for more information.\n"
+"on domain controllers and domain member machines.\n"
"\n", program_invocation_short_name,
(const char *) cygwin_internal (CW_GETNSSSEP));
return 1;