mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-29 17:37:55 +00:00
GNU Coding Standards says: The standard --help option should output
brief documentation for how to invoke the program, on standard output, then exit successfully. https://www.gnu.org/prep/standards/standards.html#g_t_002d_002dhelp
This commit is contained in:
parent
ec3767fd5e
commit
67da57ccc7
|
@ -996,7 +996,7 @@ sub parse_options {
|
||||||
if(defined $opt::timeout) { $Global::timeoutq = TimeoutQueue->new($opt::timeout); }
|
if(defined $opt::timeout) { $Global::timeoutq = TimeoutQueue->new($opt::timeout); }
|
||||||
if(defined $opt::tmpdir) { $ENV{'TMPDIR'} = $opt::tmpdir; }
|
if(defined $opt::tmpdir) { $ENV{'TMPDIR'} = $opt::tmpdir; }
|
||||||
$opt::nice ||= 0;
|
$opt::nice ||= 0;
|
||||||
if(defined $opt::help) { die_usage(); }
|
if(defined $opt::help) { usage(); exit(0); }
|
||||||
if(defined $opt::sqlandworker) { $opt::sqlmaster = $opt::sqlworker = $opt::sqlandworker; }
|
if(defined $opt::sqlandworker) { $opt::sqlmaster = $opt::sqlworker = $opt::sqlandworker; }
|
||||||
if(defined $opt::tmuxpane) { $opt::tmux = $opt::tmuxpane; }
|
if(defined $opt::tmuxpane) { $opt::tmux = $opt::tmuxpane; }
|
||||||
if(defined $opt::colsep) { $Global::trim = 'lr'; }
|
if(defined $opt::colsep) { $Global::trim = 'lr'; }
|
||||||
|
|
Loading…
Reference in a new issue