diff --git a/wp-uninstalled.sh b/wp-uninstalled.sh index d4dd1c7a..52a21490 100755 --- a/wp-uninstalled.sh +++ b/wp-uninstalled.sh @@ -33,6 +33,11 @@ done shift $((OPTIND-1)) +if [ $# -eq 0 ]; then + echo "Usage: $(basename ${BASH_SOURCE[0]}) [options] " + exit 1 +fi + if [ ! -d ${BUILDDIR} ]; then echo "Invalid build directory: ${BUILDDIR}" exit 1