* cygcheck.cc (main): Allow a '-l' without an additional argument.

This commit is contained in:
Christopher Faylor 2004-11-11 01:52:33 +00:00
parent 5ccf388ed8
commit 28fbe53af8
2 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -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);
}
else if (find_package)
{
package_find (verbose, argv);
}
else if (list_package)
{
package_list (verbose, argv);
}
else
for (i = 0; i < argc; i++)
{