From: <bl...@sy...> - 2007-10-02 22:59:09
|
Author: bli Date: 2007-10-02 17:58:56 -0500 (Tue, 02 Oct 2007) New Revision: 696 Modified: trunk/lib/SCConfig.pm Log: Should also not sanity check config when specifying --help or if no arguments are given Modified: trunk/lib/SCConfig.pm =================================================================== --- trunk/lib/SCConfig.pm 2007-10-02 22:23:38 UTC (rev 695) +++ trunk/lib/SCConfig.pm 2007-10-02 22:58:56 UTC (rev 696) @@ -117,7 +117,7 @@ $config->file(@args); } -unless ($config->nocheck()) { +unless ( $config->nocheck() || $config->help() || $config->confignone() ) { check_config($config, $config->maxkernel); } |