termux-tools: Handle --help in termux-open

Fixes #801.
This commit is contained in:
Fredrik Fornwall 2017-03-01 17:20:37 +01:00
parent 5fef7d299b
commit bd78c57fd7
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_VERSION=0.38
TERMUX_PKG_VERSION=0.39
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_CONFFILES="etc/motd"

View File

@ -15,7 +15,7 @@ show_usage () {
TEMP=`busybox getopt \
-n $SCRIPTNAME \
-o h \
--long send,view,chooser,content-type:,\
--long send,view,chooser,content-type:,help\
-- "$@"`
eval set -- "$TEMP"