1
0
Fork 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
1 changed files with 5 additions and 4 deletions

View File

@ -63,15 +63,16 @@ rotatemousedirection(){
}
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
}
while getopts :ch OPTION
while getopts :chs: OPTION
do
case "$OPTION" in
c) XJIGGLER_MOUSE_DIRECTION=circular ;;
*) usage ;;
c) XJIGGLER_MOUSE_DIRECTION=circular ;;
s) XJIGGLER_DELAY_ACTION="$(OPTARG)" ;;
*) usage ;;
esac
done