Show usage if parameters not sastified

This commit is contained in:
leafee98 2022-12-22 16:53:15 +08:00
parent f148d165f4
commit 820923fd34

View file

@ -79,6 +79,7 @@ function main()
if [ -z "$FILE" -o -z "$TARGET_DIR" ]
then
echo "option(s) --file or --target-dir is unspecified."
show_usage
exit 1
fi
hash_prev=""