Skip to content

Commit bb832a5

Browse files
committed
termux-notification: document one-letter options
1 parent 93ae63b commit bb832a5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

scripts/termux-notification

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ show_usage () {
1313
echo " --button2-action action action to execute on the second notification button"
1414
echo " --button3 text text to show on the third notification button"
1515
echo " --button3-action action action to execute on the third notification button"
16-
echo " --content content content to show in the notification. Will take precedence over stdin."
16+
echo " -c/--content content content to show in the notification. Will take precedence over stdin."
1717
echo " --group group notification group (notifications with the same group are shown together)"
18-
echo " --id id notification id (will overwrite any previous notification with the same id)"
18+
echo " -h/--help show this help"
19+
echo " -i/--id id notification id (will overwrite any previous notification with the same id)"
1920
echo " --image-path path absolute path to an image which will be shown in the notification"
2021
echo " --led-color rrggbb color of the blinking led as RRGGBB (default: none)"
2122
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 () {
2425
echo " --ongoing pin the notification"
2526
echo " --priority prio notification priority (high/low/max/min/default)"
2627
echo " --sound play a sound with the notification"
27-
echo " --title title notification title to show"
28+
echo " -t/--title title notification title to show"
2829
echo " --vibrate pattern vibrate pattern, comma separated as in 500,1000,200"
2930
echo " --type type notification style to use (default/media)"
3031
echo "Media actions (available with --type \"media\"):"

0 commit comments

Comments
 (0)