📃 Improve usage screen

Improved usage message to display all currently available default
download options.
This commit is contained in:
Marty Oehme 2021-12-01 22:15:30 +01:00
parent 08947772aa
commit 52bf358187
Signed by: Marty
GPG Key ID: B7538B8F50A1C800
1 changed files with 2 additions and 1 deletions

3
bemoji
View File

@ -23,7 +23,7 @@ bm_ignore_recent=${BEMOJI_IGNORE_RECENT:-false}
# Report usage
usage() {
echo "Usage: $(basename "$0") [-t | -c | -e] [-f <filepath> ] [-p] [-P] [-D all|none|emoji]" 1>&2
echo "Usage: $(basename "$0") [-t | -c | -e] [-f <filepath> ] [-p] [-P] [-D <choices>]" 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 <choice> Choose specific default lists to download if none found locally."
echo " Valid choices: all|none|emoji|math."
echo
exit "$1"
}