diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-07-29 13:29:54 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-07-29 13:29:54 +0000 |
commit | c72a0d361d3c1208114717a46497828eaba0626b (patch) | |
tree | fb9ebd7153407e19a28f270d9f5fca614ecddef2 | |
parent | 898e26c82f9f8b105f867516f7866c3479986628 (diff) | |
download | cygnal-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.
-rw-r--r-- | winsup/utils/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/utils/mkgroup.c | 7 | ||||
-rw-r--r-- | winsup/utils/mkpasswd.c | 11 | ||||
-rw-r--r-- | winsup/utils/utils.xml | 16 |
4 files changed, 24 insertions, 16 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index b01600fb8..f98008a7a 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,9 @@ +2014-07-29 Corinna Vinschen <corinna@vinschen.de> + + * 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. + 2014-06-16 Corinna Vinschen <corinna@vinschen.de> * passwd.c (main): Fix typo in error output. diff --git a/winsup/utils/mkgroup.c b/winsup/utils/mkgroup.c index 7b102ec99..461af400e 100644 --- a/winsup/utils/mkgroup.c +++ b/winsup/utils/mkgroup.c @@ -476,6 +476,9 @@ usage (FILE * stream) "\n" "Write /etc/group-like output to stdout\n" "\n" +"Don't use this command to generate a local /etc/group 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 groups\n" @@ -499,9 +502,7 @@ usage (FILE * stream) " -v,--version print version information and exit\n" "\n" "Default is to print local groups on stand-alone machines, plus domain\n" -"groups on domain controllers and domain member machines.\n\n" -"Don't use this command to generate a local /etc/group file, unless you\n" -"really need one. See the Cygwin User's Guide for more information.\n" +"groups on domain controllers and domain member machines.\n" "\n", program_invocation_short_name, (const char *) cygwin_internal (CW_GETNSSSEP)); return 1; 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; diff --git a/winsup/utils/utils.xml b/winsup/utils/utils.xml index 45c2dfb4b..2bb44b26b 100644 --- a/winsup/utils/utils.xml +++ b/winsup/utils/utils.xml @@ -877,6 +877,9 @@ Usage: mkgroup [OPTION]... Write /etc/group-like output to stdout +Don't use this command to generate a local /etc/group file, unless you +really need one. See the Cygwin User's Guide for more information. + Options: -l,--local [machine] print local groups @@ -901,9 +904,6 @@ Options: Default is to print local groups on stand-alone machines, plus domain groups on domain controllers and domain member machines. - -Don't use this command to generate a local /etc/group file, unless you -really need one. See the Cygwin User's Guide for more information. </screen> <para>The <command>mkgroup</command> program can be used to create a local @@ -963,12 +963,15 @@ Usage: mkpasswd [OPTIONS]... Write /etc/passwd-like output to stdout +Don't use this command to generate a local /etc/passwd file, unless you +really need one. See the Cygwin User's Guide for more information. + Options: - -l,--local [machine] print local user accounts with uid offset offset + -l,--local [machine] print local user accounts (from local machine if no machine specified) -L,--Local machine ditto, but generate username with machine prefix - -d,--domain [domain] print domain accounts with uid offset offset + -d,--domain [domain] print domain accounts (from current domain if no domain specified) -c,--current print current user -S,--separator char for -l use character char as domain\user @@ -989,9 +992,6 @@ Options: Default is to print local accounts on stand-alone machines, domain accounts on domain controllers and domain member machines. - -Don't use this command to generate a local /etc/passwd file, unless you -really need one. See the Cygwin User's Guide for more information. </screen> <para>The <command>mkpasswd</command> program can be used to create a |