Merged in bugfix/PMCORE-3527-B (pull request #8284)
PMCORE-3527-B Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
bbf20dad9d
@@ -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