summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-11-22 12:28:54 +0100
committerGravatar Martin Szulecki2012-11-22 12:28:54 +0100
commit1462f69a4eae4778d5ef9ef4206ed9902e45f6c6 (patch)
treef19a4128cd17285e560c6f5f8103f26288a30a83
parent02fff36082103a8d51fa9096c74694eca057be75 (diff)
downloadideviceinstaller-1462f69a4eae4778d5ef9ef4206ed9902e45f6c6.tar.gz
ideviceinstaller-1462f69a4eae4778d5ef9ef4206ed9902e45f6c6.tar.bz2
Fix wrong usage description for upgrade command
-rw-r--r--man/ideviceinstaller.14
-rw-r--r--src/ideviceinstaller.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/man/ideviceinstaller.1 b/man/ideviceinstaller.1
index a9d2665..2ff31a9 100644
--- a/man/ideviceinstaller.1
+++ b/man/ideviceinstaller.1
@@ -54,8 +54,8 @@ install app from a package file specified by ARCHIVE.
uninstall app specified by APPID.
.TP
-.B \-g, \-\-upgrade APPID
-upgrade app specified by APPID.
+.B \-g, \-\-upgrade ARCHIVE
+upgrade app from a package file specified by ARCHIVE.
.TP
.B \-r, \-\-restore APPID
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index 79961e1..dfd88b7 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -214,7 +214,7 @@ static void print_usage(int argc, char **argv)
" -i, --install ARCHIVE\tInstall app from package file specified by ARCHIVE.\n"
" \tARCHIVE can also be a .ipcc file for carrier bundles.\n"
" -u, --uninstall APPID\tUninstall app specified by APPID.\n"
- " -g, --upgrade APPID\tUpgrade app specified by APPID.\n"
+ " -g, --upgrade ARCHIVE\tUpgrade app from package file specified by ARCHIVE.\n"
" -L, --list-archives\tList archived applications, possible options:\n"
" -o xml\t\t- print full output as xml plist\n"
" -a, --archive APPID\tArchive app specified by APPID, possible options:\n"