Possible fix for undefined index options in tmux-ui.

This commit is contained in:
Darko
2015-07-10 11:50:27 +02:00
parent 78f3c89cc1
commit 0c33fb0d78
@@ -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);
}