* cygcheck.cc (main): Allow a '-l' without an additional argument.
This commit is contained in:
parent
5ccf388ed8
commit
28fbe53af8
|
@ -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
|
||||
|
|
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue