diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-01-10 12:51:02 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-01-10 12:51:02 +0000 |
commit | 0a18555e4f2a471cb219e40d6f43293e3d549341 (patch) | |
tree | 33dc3f48fd314fb7b307a91314b2083707aa7a72 /winsup/utils/cygcheck.cc | |
parent | 1991358fe561f3cf204c7b3a130fd22e9a71ca1b (diff) | |
download | newlib-0a18555e4f2a471cb219e40d6f43293e3d549341.zip newlib-0a18555e4f2a471cb219e40d6f43293e3d549341.tar.gz newlib-0a18555e4f2a471cb219e40d6f43293e3d549341.tar.bz2 |
* cygcheck.cc (main): don't imply -d from -s option to cygcheck
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r-- | winsup/utils/cygcheck.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc index 9eb8c56..81bca6c 100644 --- a/winsup/utils/cygcheck.cc +++ b/winsup/utils/cygcheck.cc @@ -2180,7 +2180,7 @@ At least one command option or a PROGRAM is required, as shown above.\n\ -c, --check-setup show installed version of PACKAGE and verify integrity\n\ (or for all installed packages if none specified)\n\ -d, --dump-only just list packages, do not verify (with -c)\n\ - -s, --sysinfo produce diagnostic system information (implies -c -d)\n\ + -s, --sysinfo produce diagnostic system information (implies -c)\n\ -r, --registry also scan registry for Cygwin settings (with -s)\n\ -k, --keycheck perform a keyboard check session (must be run from a\n\ plain console only, not from a pty/rxvt/xterm)\n\ @@ -2406,7 +2406,7 @@ main (int argc, char **argv) && unique_object_name_opt) usage (stderr, 1); - if (dump_only && !check_setup) + if (dump_only && !check_setup && !sysinfo) usage (stderr, 1); if (find_package + list_package + grep_packages > 1) @@ -2454,7 +2454,7 @@ main (int argc, char **argv) if (!check_setup) { puts (""); - dump_setup (verbose, NULL, false); + dump_setup (verbose, NULL, !dump_only); } if (!givehelp) |