1
0
Signed-off-by: dtb <git@trinity.moe>
This commit is contained in:
dtb 2023-07-09 11:34:39 -04:00
parent 16adaa52f7
commit 07371c9c53

View File

@ -63,15 +63,16 @@ rotatemousedirection(){
} }
usage(){ usage(){
printf 'Usage: %s (-ch)\n' "$0">&2 printf 'Usage: %s (-ch) (-s [action delay seconds])\n' "$0">&2
exit 64 # sysexits(3) EX_USAGE exit 64 # sysexits(3) EX_USAGE
} }
while getopts :ch OPTION while getopts :chs: OPTION
do do
case "$OPTION" in case "$OPTION" in
c) XJIGGLER_MOUSE_DIRECTION=circular ;; c) XJIGGLER_MOUSE_DIRECTION=circular ;;
*) usage ;; s) XJIGGLER_DELAY_ACTION="$(OPTARG)" ;;
*) usage ;;
esac esac
done done