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" ]
|
if [ -z "$FILE" -o -z "$TARGET_DIR" ]
|
||||||
then
|
then
|
||||||
echo "option(s) --file or --target-dir is unspecified."
|
echo "option(s) --file or --target-dir is unspecified."
|
||||||
|
show_usage
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
hash_prev=""
|
hash_prev=""
|
||||||
|
|
Loading…
Reference in a new issue