Usage: ${0##*/} [options]
Options:
- --reset reset display to no redshift
+ -x, --reset reset display to no redshift
EOF
if [[ $# -eq 0 ]] ; then
while [[ $# -gt 0 ]] ; do
case $1 in
- --reset) rs -x ;;
+ -x|--reset) rs -x ;;
-h|--help) usage ;;
*) usage "Unknown option: $1" ;;
esac