From 409ab13298b36160a34fbc29e3541ae9542e2ca8 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 15 Oct 2014 03:08:00 +0200 Subject: Synchronize command usage in man page and ideviceinstaller itself --- man/ideviceinstaller.1 | 17 +++++++++++------ src/ideviceinstaller.c | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/man/ideviceinstaller.1 b/man/ideviceinstaller.1 index bed39bd..51113bc 100644 --- a/man/ideviceinstaller.1 +++ b/man/ideviceinstaller.1 @@ -1,14 +1,14 @@ .TH "ideviceinstaller" 1 .SH NAME -ideviceinstaller \- Manage iDevice apps +ideviceinstaller \- Manage apps on iOS devices. .SH SYNOPSIS .B ideviceinstaller [OPTIONS] .SH DESCRIPTION -Allows to install, upgrade, uninstall, archive, restore and -enumerate installed or archived apps on iDevices. +Allows to install, upgrade, uninstall, archive, restore and enumerate installed +or archived apps on iOS devices. .SH OPTIONS @@ -17,8 +17,8 @@ enumerate installed or archived apps on iDevices. .B \-d, \-\-debug enable communication debugging. .TP -.B \-u, \-\-uuid UUID -target specific device by its 40-digit device UUID. +.B \-u, \-\-udid UDID +target specific device by its 40-digit device UDID. .TP .B \-h, \-\-help prints usage information @@ -47,7 +47,9 @@ print output in xml format (PList) .TP .B \-i, \-\-install ARCHIVE -install app from a package file specified by ARCHIVE. +install app from a package file specified by ARCHIVE. ARCHIVE can also be a +.ipcc file for carrier bundle installation or a .app directory for developer +app installation. .TP .B \-U, \-\-uninstall APPID @@ -85,6 +87,9 @@ uninstall the package after making an archive \-o app_only archive application data only .TP +\-o docs_only +archive documents (user data) only +.TP \-o copy=PATH copy the app archive to directory PATH when done .TP diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index de1f93c..dd9b5f8 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -306,7 +306,7 @@ static void print_usage(int argc, char **argv) name = strrchr(argv[0], '/'); printf("Usage: %s OPTIONS\n", (name ? name + 1 : argv[0])); - printf("Manage apps on an iDevice.\n\n"); + printf("Manage apps on iOS devices.\n\n"); printf (" -u, --udid UDID\tTarget specific device by its 40-digit device UDID.\n" " -l, --list-apps\tList apps, possible options:\n" -- cgit v1.1-32-gdbae