termux-notification: document one-letter options

This commit is contained in:
Alessandro Caputo 2019-08-08 15:01:45 +02:00
parent 93ae63b905
commit bb832a5182

View File

@ -13,9 +13,10 @@ show_usage () {
echo " --button2-action action action to execute on the second notification button" echo " --button2-action action action to execute on the second notification button"
echo " --button3 text text to show on the third notification button" echo " --button3 text text to show on the third notification button"
echo " --button3-action action action to execute on the third notification button" echo " --button3-action action action to execute on the third notification button"
echo " --content content content to show in the notification. Will take precedence over stdin." echo " -c/--content content content to show in the notification. Will take precedence over stdin."
echo " --group group notification group (notifications with the same group are shown together)" echo " --group group notification group (notifications with the same group are shown together)"
echo " --id id notification id (will overwrite any previous notification with the same id)" echo " -h/--help show this help"
echo " -i/--id id notification id (will overwrite any previous notification with the same id)"
echo " --image-path path absolute path to an image which will be shown in the notification" echo " --image-path path absolute path to an image which will be shown in the notification"
echo " --led-color rrggbb color of the blinking led as RRGGBB (default: none)" echo " --led-color rrggbb color of the blinking led as RRGGBB (default: none)"
echo " --led-off milliseconds number of milliseconds for the LED to be off while it's flashing (default: 800)" echo " --led-off milliseconds number of milliseconds for the LED to be off while it's flashing (default: 800)"
@ -24,7 +25,7 @@ show_usage () {
echo " --ongoing pin the notification" echo " --ongoing pin the notification"
echo " --priority prio notification priority (high/low/max/min/default)" echo " --priority prio notification priority (high/low/max/min/default)"
echo " --sound play a sound with the notification" echo " --sound play a sound with the notification"
echo " --title title notification title to show" echo " -t/--title title notification title to show"
echo " --vibrate pattern vibrate pattern, comma separated as in 500,1000,200" echo " --vibrate pattern vibrate pattern, comma separated as in 500,1000,200"
echo " --type type notification style to use (default/media)" echo " --type type notification style to use (default/media)"
echo "Media actions (available with --type \"media\"):" echo "Media actions (available with --type \"media\"):"