PMCORE-3527-B
This commit is contained in:
@@ -206,8 +206,10 @@ EOT;
|
|||||||
$args = $argv;
|
$args = $argv;
|
||||||
$cliname = array_shift( $args );
|
$cliname = array_shift( $args );
|
||||||
$taskName = array_shift( $args );
|
$taskName = array_shift( $args );
|
||||||
while ($taskName[0] == '-') {
|
if (isset($taskName[0])) {
|
||||||
$taskName = array_shift( $args );
|
while ($taskName[0] == '-') {
|
||||||
|
$taskName = array_shift( $args );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (! $taskName) {
|
if (! $taskName) {
|
||||||
echo self::error( "Specify a task from the list below." ) . "\n\n";
|
echo self::error( "Specify a task from the list below." ) . "\n\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user