X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/8d6e165f624a809cf51cf8f30ae0e268904612d0..bea93fbd7a67f51f79883a4c6cae9ef0893d0551:/packages/termux-api/termux-notification diff --git a/packages/termux-api/termux-notification b/packages/termux-api/termux-notification index 34a5aab3..ecac9aeb 100755 --- a/packages/termux-api/termux-notification +++ b/packages/termux-api/termux-notification @@ -3,14 +3,16 @@ set -e -u SCRIPTNAME=termux-notification show_usage () { - echo "Usage: termux-notification [OPTIONS]" - echo "Display a system notification." - echo "" - echo " -c notification content to show" - echo " -i notification id (will overwrite the previous notification with the same id)" - echo " -t notification title to show" - echo " -u <url> notification url when clicking on it" - exit 1 + echo "Usage: termux-notification [-c content] [-i id] [-t title] [-u url]" + echo "Display a system notification." + echo "" + echo " -c content notification content to show" + echo " -i id notification id (will overwrite any previous notification" + echo " with the same id)" + echo " -t title notification title to show" + echo " -u url notification url when clicking on it" + echo "" + exit 0 } CONTENT_OR_TITLE_SET=no