Show usage if parameters not sastified
This commit is contained in:
parent
f148d165f4
commit
820923fd34
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue