Browse Source

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

Fixes #801.
android-5
Fredrik Fornwall 8 years ago
parent
commit
bd78c57fd7
  1. 2
      packages/termux-tools/build.sh
  2. 2
      packages/termux-tools/termux-open

2
packages/termux-tools/build.sh

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/ TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" 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_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_CONFFILES="etc/motd" TERMUX_PKG_CONFFILES="etc/motd"

2
packages/termux-tools/termux-open

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

Loading…
Cancel
Save