From a234c4c5c3405ff0b4b51e32e0d1c0ad99a9ff20 Mon Sep 17 00:00:00 2001 From: Jes Olson Date: Tue, 4 Oct 2022 14:01:36 -0500 Subject: [PATCH] everything = help --- shmoji | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shmoji b/shmoji index 260862d..47154f5 100755 --- a/shmoji +++ b/shmoji @@ -18,9 +18,6 @@ die() { } case "$cmd" in - -h|--help|help|"") - printf "%s\n" "usage: shmoji [bemenu | download]" - ;; download) command -v curl > /dev/null || die 'curl not found' mkdir -p "$emojidb" @@ -34,6 +31,9 @@ case "$cmd" in emoji=$(cat "$emojidb/emojis.txt" | bemenu -c -W 0.2 -l 20) printf "%s" "$emoji" | cut -d " " -f 1 | wtype - ;; + *) + printf "%s\n" "usage: shmoji [bemenu | download]" + ;; esac exit 0