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>2023-01-29 19:52:13 +0300
committerCorinna Vinschen <corinna@vinschen.de>2023-01-29 19:52:13 +0300
commit784a141e0f96150abd91e71164aa5415d2a1aa82 (patch)
tree015641e83f91b6e5e2deed6f30ec4fb1175bceea /winsup/utils
parent603f880cb7d3c15a4ac25e976dbc4b721f5a2922 (diff)
Cygwin: cygcheck: improve documentation
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/mingw/cygcheck.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/winsup/utils/mingw/cygcheck.cc b/winsup/utils/mingw/cygcheck.cc
index 7386ff9f7..f4107176f 100644
--- a/winsup/utils/mingw/cygcheck.cc
+++ b/winsup/utils/mingw/cygcheck.cc
@@ -2738,7 +2738,7 @@ Usage: cygcheck [-v] [-h] PROGRAM\n\
cygcheck -k\n\
cygcheck -f FILE [FILE]...\n\
cygcheck -l [PACKAGE]...\n\
- cygcheck -i [--inst,--curr,--prev,--test] [PATTERN]...\n\
+ cygcheck -i [--inst] [--curr] [--prev] [--test] [PATTERN]...\n\
cygcheck -e [PATTERN]...\n\
cygcheck -p REGEXP\n\
cygcheck --delete-orphaned-installation-keys\n\
@@ -2760,7 +2760,7 @@ At least one command option or a PROGRAM is required, as shown above.\n\
-i, --info-package print full info on packages matching PATTERN, installed\n\
and available packages\n\
PATTERN is a glob pattern with * and ? as wildcard chars\n\
- info selection specifiers (multiple allowed):\n\
+ info selection specifiers (multiple allowed):\n\
--inst only print info on installed package\n\
--curr only print info on most recent available package\n\
--prev only print info on older, but still available packages\n\
@@ -2780,9 +2780,10 @@ At least one command option or a PROGRAM is required, as shown above.\n\
-V, --version print the version of cygcheck and exit\n\
\n\
Notes:\n\
- -c, -f, and -l only report on packages that are currently installed. To\n\
- search all official Cygwin packages use -p instead. The -p REGEXP matches\n\
- package names, descriptions, and names of files/paths within all packages.\n\
+ -c, -f, and -l only report on packages that are currently installed.\n\
+ -i and -e report on available packages, too. To search for files within\n\
+ uninstalled Cygwin packages, use -p. The -p REGEXP matches package names,\n\
+ descriptions, and names of files/paths within all packages.\n\
\n");
exit (status);
}