From: Mike Frysinger Date: Sat, 4 Apr 2015 19:20:26 +0000 (-0700) Subject: redshift: add -x option X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=817543d6316a8d4226dc39246891e5000bc84c55;p=home.git redshift: add -x option --- diff --git a/.bin/redshift-check b/.bin/redshift-check index c41e436..b7f2d38 100755 --- a/.bin/redshift-check +++ b/.bin/redshift-check @@ -5,7 +5,7 @@ usage() { Usage: ${0##*/} [options] Options: - --reset reset display to no redshift + -x, --reset reset display to no redshift EOF if [[ $# -eq 0 ]] ; then @@ -26,7 +26,7 @@ main() { while [[ $# -gt 0 ]] ; do case $1 in - --reset) rs -x ;; + -x|--reset) rs -x ;; -h|--help) usage ;; *) usage "Unknown option: $1" ;; esac