summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-28 01:27:07 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-28 01:27:07 +0000
commitf7da9d967113f40f07ac7f4254027e665ead7642 (patch)
tree81404183c2484bde5bf5789bd426f417c71cec28
parent57563ffd07c2b88f6bd9625d9913854e41222393 (diff)
[package] opkg: fix usage to reflect change in the upgrade command
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20531 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/opkg/patches/009-remove-upgrade-all.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/opkg/patches/009-remove-upgrade-all.patch b/package/opkg/patches/009-remove-upgrade-all.patch
index 0c3f6cf4a1..be76ef53ce 100644
--- a/package/opkg/patches/009-remove-upgrade-all.patch
+++ b/package/opkg/patches/009-remove-upgrade-all.patch
@@ -27,3 +27,14 @@
{"list", 0, (opkg_cmd_fun_t)opkg_list_cmd, PFM_SOURCE},
{"list_installed", 0, (opkg_cmd_fun_t)opkg_list_installed_cmd, PFM_SOURCE},
{"list-installed", 0, (opkg_cmd_fun_t)opkg_list_installed_cmd, PFM_SOURCE},
+--- a/src/opkg-cl.c
++++ b/src/opkg-cl.c
+@@ -187,7 +187,7 @@ usage()
+
+ printf("\nPackage Manipulation:\n");
+ printf("\tupdate Update list of available packages\n");
+- printf("\tupgrade Upgrade installed packages\n");
++ printf("\tupgrade <pkgs> Upgrade package(s)\n");
+ printf("\tinstall <pkgs> Install package(s)\n");
+ printf("\tconfigure <pkgs> Configure unpacked package(s)\n");
+ printf("\tremove <pkgs|regexp> Remove package(s)\n");