@@ 49-53 (lines=5) @@ | ||
46 | Console::output($description); |
|
47 | Console::output(str_pad('', mb_strlen($description), '-')); |
|
48 | $paramsString = []; |
|
49 | if (!empty($required)) { |
|
50 | foreach (explode(',', $required) as $param) { |
|
51 | $paramsString[] = '<' . trim($param) . '>'; |
|
52 | } |
|
53 | } |
|
54 | if (!empty($optional)) { |
|
55 | foreach (explode(',', $optional) as $param) { |
|
56 | $paramsString[] = '[' . trim($param) . ']'; |
|
@@ 54-58 (lines=5) @@ | ||
51 | $paramsString[] = '<' . trim($param) . '>'; |
|
52 | } |
|
53 | } |
|
54 | if (!empty($optional)) { |
|
55 | foreach (explode(',', $optional) as $param) { |
|
56 | $paramsString[] = '[' . trim($param) . ']'; |
|
57 | } |
|
58 | } |
|
59 | Console::output( |
|
60 | Yii::t('activeuser_backend', 'Usage') . ': ' . |
|
61 | Console::ansiFormat( |