X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/8bfad7bca41cbf9230f14065bdbd457cb8980e27..bea93fbd7a67f51f79883a4c6cae9ef0893d0551:/packages/termux-api/termux-dialog diff --git a/packages/termux-api/termux-dialog b/packages/termux-api/termux-dialog index c513f944..2a244464 100755 --- a/packages/termux-api/termux-dialog +++ b/packages/termux-api/termux-dialog @@ -3,14 +3,15 @@ set -e -u SCRIPTNAME=termux-dialog show_usage () { - echo "Usage: $SCRIPTNAME [OPTIONS]" - echo "Show a text entry dialog." - echo "" - echo " -i the input hint to show when the input is empty" - echo " -m use a textarea with multiple lines instead of a single" - echo " -p enter the input as a password" - echo " -t the title to show for the input prompt" - exit 0 + echo "Usage: $SCRIPTNAME [-i hint] [-m] [-p] [-t title]" + echo "Show a text entry dialog." + echo "" + echo " -i hint the input hint to show when the input is empty" + echo " -m use a textarea with multiple lines instead of a single" + echo " -p enter the input as a password" + echo " -t title the title to show for the input prompt" + echo "" + exit 0 } PARAMS=""