SCRIPTNAME=termux-dialog
show_usage () {
- echo "Usage: $SCRIPTNAME [OPTIONS]"
- 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"
- exit 0
+ echo "Usage: $SCRIPTNAME [-i hint] [-m] [-p] [-t title]"
+ echo "Show a text entry dialog."
+ 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"
+ exit 0
}
PARAMS=""