mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
Possible fix for undefined index options in tmux-ui.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
$start = ['start', 'run', 'resume', 'continue'];
|
||||
$stop = ['stop', 'end', 'finish', 'halt'];
|
||||
|
||||
$options = implode(' | ', $start) . ' | ' . implode(' | ', $stop);
|
||||
$message = <<<HELP_TEXT
|
||||
Usage: {$argv[0]} [$options]
|
||||
Start or stop the processing of tmux scripts. This is functionally equivalent to (un)setting the
|
||||
@@ -29,7 +30,6 @@ Start or stop the processing of tmux scripts. This is functionally equivalent to
|
||||
HELP_TEXT;
|
||||
|
||||
if ($argc == 1) {
|
||||
$options = implode(' | ', $start) . ' | ' . implode(' | ', $stop);
|
||||
exit($message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user