From b4e7004fdffa64570f0496a033b44d66781f4bc5 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 21 Mar 2023 18:44:39 +0100 Subject: Mention in the documentation that certain commands don't work anymore with iOS 7 or later --- man/ideviceinstaller.1 | 29 +++++++++++++++-------------- src/ideviceinstaller.c | 5 +++-- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/man/ideviceinstaller.1 b/man/ideviceinstaller.1 index b13b0e6..2520ae0 100644 --- a/man/ideviceinstaller.1 +++ b/man/ideviceinstaller.1 @@ -45,19 +45,8 @@ Uninstall app specified by BUNDLEID. .B upgrade PATH Upgrade app from a package file specified by PATH. -.TP -.B restore BUNDLEID -Restore archived app specified by BUNDLEID. - -.TP -.B list-archives -List archived apps on the device. -.RS -.TP -\-o xml -print full output as xml plist -.RE - +.SH LEGACY COMMANDS +The following commands are non-functional with iOS 7 or later. .TP .B archive BUNDLEID Archive app specified by BUNDLEID. @@ -79,11 +68,23 @@ copy the app archive to directory PATH when done only valid when copy=PATH is used: remove after copy .RE +.TP +.B restore BUNDLEID +Restore archived app specified by BUNDLEID. + +.TP +.B list-archives +List archived apps on the device. +.RS +.TP +\-o xml +print full output as xml plist +.RE + .TP .B remove-archive BUNDLEID Remove app archive specified by BUNDLEID. - .SH OPTIONS .TP .B \-u, \-\-udid UDID diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index 92518da..5e59e8e 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -411,8 +411,7 @@ static void print_usage(int argc, char **argv, int is_error) " PATH can also be a .ipcc file for carrier bundles.\n" " uninstall BUNDLEID Uninstall app specified by BUNDLEID.\n" " upgrade PATH Upgrade app from package file specified by PATH.\n" - " list-archives List archived apps\n" - " -o xml print full output as xml plist\n" + "LEGACY COMMANDS (non-functional with iOS 7 or later):\n" " archive BUNDLEID Archive app specified by BUNDLEID, possible options:\n" " -o uninstall uninstall the package after making an archive\n" " -o app_only archive application data only\n" @@ -420,6 +419,8 @@ static void print_usage(int argc, char **argv, int is_error) " -o copy=PATH copy the app archive to directory PATH when done\n" " -o remove only valid when copy=PATH is used: remove after copy\n" " restore BUNDLEID Restore archived app specified by BUNDLEID\n" + " list-archives List archived apps\n" + " -o xml print full output as xml plist\n" " remove-archive BUNDLEID Remove app archive specified by BUNDLEID\n" "\n" "OPTIONS:\n" -- cgit v1.1-32-gdbae