diff --git a/scripts/ybcon b/scripts/ybcon index caee8f0..9ac909a 100755 --- a/scripts/ybcon +++ b/scripts/ybcon @@ -55,7 +55,8 @@ if [ "$#" != 0 ]; then do case "$it" in -p | --printresult | --parallel | --target=* ) - if test "${args#*$it}" = "$args" && test "$args" = "*.ybcon"; then + if test "${args#*$it}" = "$args"; then + if test "$args" = "*.ybcon*"; then usageExit; fi newArgs "$it" else usageExit