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 + + * cygcheck.cc (main): Allow a '-l' without an additional argument. + 2004-11-11 Bas van Gompel * 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++) {