Handle too many arguments
This commit is contained in:
parent
18d4948a12
commit
4965db0254
@ -61,6 +61,9 @@ if [[ "$#" -eq 1 ]]; then
|
|||||||
echo "-h, --help Show help menu"
|
echo "-h, --help Show help menu"
|
||||||
echo "-t, --theme Show theme selection screen"
|
echo "-t, --theme Show theme selection screen"
|
||||||
fi
|
fi
|
||||||
|
elif [[ "$#" -gt 1 ]]; then
|
||||||
|
echo "Too many arguments"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#delete previous backups
|
#delete previous backups
|
||||||
|
Loading…
Reference in New Issue
Block a user