diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-05-04 10:15:48 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-05-04 10:15:48 +0000 |
commit | 143cb0bed5619b937e66c87bd41dcda7baa39da4 (patch) | |
tree | 66386c74ef3a45030e180861a320328adc397a49 | |
parent | 9d86c13dbb5647d22f16a4baec38b2a27e75fddf (diff) | |
download | newlib-143cb0bed5619b937e66c87bd41dcda7baa39da4.zip newlib-143cb0bed5619b937e66c87bd41dcda7baa39da4.tar.gz newlib-143cb0bed5619b937e66c87bd41dcda7baa39da4.tar.bz2 |
* cygcheck.cc (usage): Fix option order and print.
-rw-r--r-- | winsup/utils/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/utils/cygcheck.cc | 11 |
2 files changed, 10 insertions, 5 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 5b9de04..fde801a 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2009-05-04 Corinna Vinschen <corinna@vinschen.de> + + * cygcheck.cc (usage): Fix option order and print. + 2009-04-22 Christopher Faylor <me+cygwin@cgf.cx> * strace.cc (create_child): Set CYGWIN=noglob when starting new process diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc index 10738a1..c3e9a95 100644 --- a/winsup/utils/cygcheck.cc +++ b/winsup/utils/cygcheck.cc @@ -1965,13 +1965,14 @@ static void usage (FILE * stream, int status) { fprintf (stream, "\ -Usage: cygcheck PROGRAM [ -v ] [ -h ]\n\ - cygcheck -c [ PACKAGE ] [ -d ]\n\ - cygcheck -s [ -r ] [ -v ] [ -h ]\n\ +Usage: cygcheck [-v] [-h] PROGRAM\n\ + cygcheck -c [-d] [PACKAGE]\n\ + cygcheck -s [-r] [-v] [-h]\n\ cygcheck -k\n\ - cygcheck -f FILE [ FILE ... ]\n\ - cygcheck -l [ PACKAGE ] [ PACKAGE ... ]\n\ + cygcheck -f FILE [FILE]...\n\ + cygcheck -l [PACKAGE]...\n\ cygcheck -p REGEXP\n\ + cygcheck -h\n\n\ List system information, check installed packages, or query package database.\n\ \n\ At least one command option or a PROGRAM is required, as shown above.\n\ |