7 echo "usage: $SCRIPTNAME [OPTIONS]"
8 echo " Show a text entry dialog."
9 echo " -i, --input-hint The input hint to show when the textarea is empty"
13 O=`busybox getopt -q -l help -l input-hint: -- hi: "$@"`
14 if [ $? != 0 ] ; then show_usage; exit 1 ; fi
18 -h|--help) show_usage; exit 0;;
19 -i|--input-hint) PARAMS="$PARAMS --es input_hint '$2'"; shift 2;;
21 *) echo Error; exit 1;;
26 if [ $# != 0 ]; then show_usage; exit 1; fi
28 eval @TERMUX_API@ Dialog $PARAMS