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
|
do
|
||||||
case "$it" in
|
case "$it" in
|
||||||
-p | --printresult | --parallel | --target=* )
|
-p | --printresult | --parallel | --target=* )
|
||||||
if test "${args#*$it}" = "$args"; then
|
if test "${args#*$it}" = "$args" && test "$args" = "*.ybcon"; then
|
||||||
newArgs "$it"
|
newArgs "$it"
|
||||||
else
|
else
|
||||||
usageExit
|
usageExit
|
||||||
|
|
Loading…
Reference in New Issue