packages->pkg in help text (#1599)
* packages->pkg in help text * Fix pkg at a second placec
This commit is contained in:
parent
bb9727d29f
commit
9e77a1160e
@ -1,6 +1,6 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://termux.com/
|
||||
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
||||
TERMUX_PKG_VERSION=0.46
|
||||
TERMUX_PKG_VERSION=0.47
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
||||
TERMUX_PKG_CONFFILES="etc/motd"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
set -e -u
|
||||
|
||||
show_help() {
|
||||
echo 'Usage: packages command [arguments]'
|
||||
echo 'Usage: pkg command [arguments]'
|
||||
echo ''
|
||||
echo 'A tool for managing packages. Commands:'
|
||||
echo ''
|
||||
@ -33,6 +33,6 @@ case "$CMD" in
|
||||
sh*) apt show $@;;
|
||||
un*|rem*|rm|del*) apt remove $@;;
|
||||
up*) apt update; apt full-upgrade;;
|
||||
*) echo "Unknown command: '$CMD' (run 'packages help' for usage information)";;
|
||||
*) echo "Unknown command: '$CMD' (run 'pkg help' for usage information)";;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user