Bail if no command

This commit is contained in:
Matt McWilliams 2021-09-16 01:21:27 -04:00
parent 6ca0fe9cc0
commit 82c127ec5d
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@ XZIG=1.0
X=3.2 //4.2 - XZIG
Y=1.25
if [[ "${1}" == "" ]]; then
echo "Please provide an argument. Either 'set' or 'reset'."
exit 1
fi
if [ "${1}" == "set" ]; then
paxi move $XZIG 0
paxi move 0 $Y