From 52bf358187fba58e979ef1cf89d06ef17e164b9a Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 1 Dec 2021 22:15:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=83=20Improve=20usage=20screen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improved usage message to display all currently available default download options. --- bemoji | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bemoji b/bemoji index 667f9ee..c196e31 100755 --- a/bemoji +++ b/bemoji @@ -23,7 +23,7 @@ bm_ignore_recent=${BEMOJI_IGNORE_RECENT:-false} # Report usage usage() { - echo "Usage: $(basename "$0") [-t | -c | -e] [-f ] [-p] [-P] [-D all|none|emoji]" 1>&2 + echo "Usage: $(basename "$0") [-t | -c | -e] [-f ] [-p] [-P] [-D ]" 1>&2 echo echo "A simple emoji picker. Runs on bemenu/wofi/rofi/dmenu by default." echo "Invoked without arguments sends the picked emoji to the clipboard." @@ -35,6 +35,7 @@ usage() { echo " -P Do not order emoji by recently used." echo " -e Only echo out the picked emoji." echo " -D Choose specific default lists to download if none found locally." + echo " Valid choices: all|none|emoji|math." echo exit "$1" }