autossh: Update from 1.4e to 1.4f
[termux-packages] / packages / termux-tools / pkg
index 1b931cb..25c8d2f 100755 (executable)
@@ -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 ''
@@ -25,7 +25,7 @@ shift 1
 case "$CMD" in
        f*) dpkg -L $@;;
        h*) show_help;;
-       i*) apt update; apt install $@;;
+       add|i*) apt update; apt install $@;;
        list-a*) apt list $@;;
        list-i*) apt list --installed $@;;
        re*) apt install --reinstall $@;;
@@ -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