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,14 +63,15 @@ 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 ;;
s) XJIGGLER_DELAY_ACTION="$(OPTARG)" ;;
*) usage ;;
esac
done