Show the usage dialog when a .ybcon file isn't provided in the shell script.
This commit is contained in:
parent
dfc42a49af
commit
36b3a07b35
|
@ -55,7 +55,7 @@ if [ "$#" != 0 ]; then
|
|||
do
|
||||
case "$it" in
|
||||
-p | --printresult | --parallel | --target=* )
|
||||
if test "${args#*$it}" = "$args"; then
|
||||
if test "${args#*$it}" = "$args" && test "$args" = "*.ybcon"; then
|
||||
newArgs "$it"
|
||||
else
|
||||
usageExit
|
||||
|
|
Loading…
Reference in New Issue