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:
authorChristopher Faylor <me@cgf.cx>2004-11-11 04:52:33 +0300
committerChristopher Faylor <me@cgf.cx>2004-11-11 04:52:33 +0300
commit28fbe53af825b4fed31163761b48e1bc81506ac2 (patch)
tree504ef9f0b0a60b01db6f5dbee2fd9d18dee0cc99
parent5ccf388ed8969885ceb68d99fbd6f8e15838fd4b (diff)
* cygcheck.cc (main): Allow a '-l' without an additional argument.
-rw-r--r--winsup/utils/ChangeLog4
-rw-r--r--winsup/utils/cygcheck.cc14
2 files changed, 8 insertions, 10 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 08f39a2d9..24aa5715d 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-10 Christopher Faylor <cgf@timesys.com>
+
+ * cygcheck.cc (main): Allow a '-l' without an additional argument.
+
2004-11-11 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
* cygcheck.cc (keyeprint): New optional parameters: show_error and
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index 57c27bf90..281d57704 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -1457,7 +1457,7 @@ main (int argc, char **argv)
argc -= optind;
argv += optind;
- if (argc == 0 && !sysinfo && !keycheck && !check_setup)
+ if (argc == 0 && !sysinfo && !keycheck && !check_setup && !list_package)
if (givehelp)
usage (stdout, 0);
else
@@ -1492,17 +1492,11 @@ main (int argc, char **argv)
}
if (check_setup)
- {
- dump_setup (verbose, argv, !dump_only);
- }
+ dump_setup (verbose, argv, !dump_only);
else if (find_package)
- {
- package_find (verbose, argv);
- }
+ package_find (verbose, argv);
else if (list_package)
- {
- package_list (verbose, argv);
- }
+ package_list (verbose, argv);
else
for (i = 0; i < argc; i++)
{