From: Corinna Vinschen Date: Mon, 4 May 2009 10:15:48 +0000 (+0000) Subject: * cygcheck.cc (usage): Fix option order and print. X-Git-Tag: sid-snapshot-20090601~61 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=143cb0bed5619b937e66c87bd41dcda7baa39da4;p=newlib-cygwin.git * cygcheck.cc (usage): Fix option order and print. --- diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 5b9de0469..fde801a79 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2009-05-04 Corinna Vinschen + + * cygcheck.cc (usage): Fix option order and print. + 2009-04-22 Christopher Faylor * strace.cc (create_child): Set CYGWIN=noglob when starting new process diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc index 10738a145..c3e9a953c 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\