Bail if no command
This commit is contained in:
parent
6ca0fe9cc0
commit
82c127ec5d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue