* cygcheck.cc (usage): Fix option order and print.

This commit is contained in:
Corinna Vinschen 2009-05-04 10:15:48 +00:00
parent 9d86c13dbb
commit 143cb0bed5
2 changed files with 10 additions and 5 deletions

View File

@ -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> 2009-04-22 Christopher Faylor <me+cygwin@cgf.cx>
* strace.cc (create_child): Set CYGWIN=noglob when starting new process * strace.cc (create_child): Set CYGWIN=noglob when starting new process

View File

@ -1965,13 +1965,14 @@ static void
usage (FILE * stream, int status) usage (FILE * stream, int status)
{ {
fprintf (stream, "\ fprintf (stream, "\
Usage: cygcheck PROGRAM [ -v ] [ -h ]\n\ Usage: cygcheck [-v] [-h] PROGRAM\n\
cygcheck -c [ PACKAGE ] [ -d ]\n\ cygcheck -c [-d] [PACKAGE]\n\
cygcheck -s [ -r ] [ -v ] [ -h ]\n\ cygcheck -s [-r] [-v] [-h]\n\
cygcheck -k\n\ cygcheck -k\n\
cygcheck -f FILE [ FILE ... ]\n\ cygcheck -f FILE [FILE]...\n\
cygcheck -l [ PACKAGE ] [ PACKAGE ... ]\n\ cygcheck -l [PACKAGE]...\n\
cygcheck -p REGEXP\n\ cygcheck -p REGEXP\n\
cygcheck -h\n\n\
List system information, check installed packages, or query package database.\n\ List system information, check installed packages, or query package database.\n\
\n\ \n\
At least one command option or a PROGRAM is required, as shown above.\n\ At least one command option or a PROGRAM is required, as shown above.\n\