Fix in cmd
This commit is contained in:
parent
f78f438b16
commit
6827724ee0
1 changed files with 5 additions and 0 deletions
5
vendor/phangoapp/cuchuluphputils/src/Cmd.php
vendored
5
vendor/phangoapp/cuchuluphputils/src/Cmd.php
vendored
|
|
@ -38,6 +38,11 @@ class Cmd {
|
|||
|
||||
$h_options[]='--'.$k.'='.strtoupper($k).$required_value;
|
||||
|
||||
} else {
|
||||
|
||||
$options[$k]=$k.':';
|
||||
$h_options[]='--'.$k.'='.strtoupper($k);
|
||||
|
||||
}
|
||||
|
||||
$h_options_text[$k]='--'.$k.': '.$arg['help'] ?? ucfirst($k);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue