--
Signed-off-by: dtb <git@trinity.moe>
This commit is contained in:
parent
16adaa52f7
commit
07371c9c53
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user