Remove pointless help
setting
This does not affect the `--help` command-line argument. The `help` setting didn't do anything useful, and it didn't make sense to set `help=1` in the config file (or pass `--options=help=1`), so this removal is unlikely to affect anyone. If the setting does exist, the user will get a warning and the setting will be ignored.
This commit is contained in:
parent
b4c4b5dc54
commit
c83dc67039
1 changed files with 0 additions and 6 deletions
|
@ -614,7 +614,6 @@ our %variables = (
|
|||
'debug' => setv(T_BOOL, 0, 0, 0, undef),
|
||||
'verbose' => setv(T_BOOL, 0, 0, 0, undef),
|
||||
'quiet' => setv(T_BOOL, 0, 0, 0, undef),
|
||||
'help' => setv(T_BOOL, 0, 0, 0, undef),
|
||||
'test' => setv(T_BOOL, 0, 0, 0, undef),
|
||||
|
||||
'postscript' => setv(T_POSTS, 0, 0, undef, undef),
|
||||
|
@ -1291,11 +1290,6 @@ sub main {
|
|||
$now = time;
|
||||
$result = 'OK';
|
||||
%opt = %saved_opt;
|
||||
if (opt('help')) {
|
||||
*STDERR = *STDOUT;
|
||||
printf("Help found");
|
||||
}
|
||||
|
||||
read_config($opt{'file'} // default('file'), \%config, \%globals);
|
||||
init_config();
|
||||
read_recap(opt('cache'), \%recap);
|
||||
|
|
Loading…
Reference in a new issue