commit c7dd10d1761f1de0cdda1e7c66d9aa39d424f6cd parent 1a01ce9b465ee5793d11fac22aa5ffb75f1613cf Author: Jacob R. Edwards <jacobouno@protonmail.com> Date: Fri, 12 Feb 2021 22:00:09 -0800 Print usage to the standard error in dp script Diffstat:
| M | modules/scripts/.local/bin/dp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/scripts/.local/bin/dp b/modules/scripts/.local/bin/dp @@ -12,5 +12,5 @@ case $# in 2) xrandr --auto --output "$1" --left-of "$2" --auto;; 1) xrandr --output "$1" --off;; - *) printf 'usage: %s [output [output]]\n' `basename $0`; exit 1;; + *) printf 'usage: %s [output [output]]\n' `basename $0` 1>&2; exit 1;; esac