4 echo "usage: termux-toast [-s|--short]"
5 echo "Show the text from stdin in a Toast (a transient popup). Options:"
6 echo " -s, --short only show the toast for a short while"
10 O=`busybox getopt -q -l short -l help -- sh "$@"`
11 if [ $? != 0 ] ; then show_usage; exit 1 ; fi
15 -s|--short) PARAMS="$PARAMS --ez short true"; shift 1;;
16 -h|--help) show_usage; exit 0;;
18 *) echo Error; exit 1;;
22 if [ $# != 0 ]; then show_usage; exit 1; fi
24 @TERMUX_API@ Toast $PARAMS