diff options
author | EuAndreh <eu@euandre.org> | 2023-07-29 08:52:48 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-07-29 08:52:48 -0300 |
commit | cef76cd1b0ae32ba1d9733c9d09d62de24559743 (patch) | |
tree | 8922a05e83d3b1ea2e98660ed843606ee8046853 /bin/msg | |
parent | etc/sh/rc: When X is available, set the keyboard "Insert" key (diff) | |
download | dotfiles-cef76cd1b0ae32ba1d9733c9d09d62de24559743.tar.gz dotfiles-cef76cd1b0ae32ba1d9733c9d09d62de24559743.tar.xz |
bin/*: Add matching parenthesis to case clauses
Diffstat (limited to 'bin/msg')
-rwxr-xr-x | bin/msg | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -45,15 +45,15 @@ help() { for flag in "$@"; do case "$flag" in - --) + (--) break ;; - --help) + (--help) usage help exit ;; - *) + (*) ;; esac done @@ -86,7 +86,7 @@ while getopts '01XsSmDbh' flag; do XMPP=true ACTION_DONE=true ;; - s) + (s) SOUND=true ACTION_DONE=true ;; @@ -94,7 +94,7 @@ while getopts '01XsSmDbh' flag; do SPEAK=true ACTION_DONE=true ;; - m) + (m) MAIL=true ACTION_DONE=true ;; @@ -102,16 +102,16 @@ while getopts '01XsSmDbh' flag; do DESKTOP=true ACTION_DONE=true ;; - b) + (b) BELL=true ACTION_DONE=true ;; - h) + (h) usage help exit ;; - *) + (*) usage >&2 exit 2 ;; |