Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-05-04 14:15:48 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-05-04 14:15:48 +0400
commit143cb0bed5619b937e66c87bd41dcda7baa39da4 (patch)
tree66386c74ef3a45030e180861a320328adc397a49 /winsup/utils/cygcheck.cc
parent9d86c13dbb5647d22f16a4baec38b2a27e75fddf (diff)
* cygcheck.cc (usage): Fix option order and print.
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc11
1 files changed, 6 insertions, 5 deletions
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\