Show the usage dialog when a .ybcon file isn't provided in the shell script.

This commit is contained in:
Username404-59 2021-07-07 22:36:14 +02:00
parent dfc42a49af
commit 36b3a07b35
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -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