From 56885094b63af1b0077dec16bc695aa09d8043fc Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Mon, 3 Oct 2011 18:27:01 -0700 Subject: [PATCH] Add command line help for the new 'adb backup -all -nosystem' Documentation-only change that supports the new framework-side feature to omit system packages when you're using adb backup -all. Bug 5361503. Change-Id: I86bca8883a7fb8c713ca352ad5980e92fd640d18 --- adb/commandline.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/adb/commandline.c b/adb/commandline.c index 973932fb9..4c1523248 100644 --- a/adb/commandline.c +++ b/adb/commandline.c @@ -129,18 +129,22 @@ void help() " adb bugreport - return all information from the device\n" " that should be included in a bug report.\n" "\n" - " adb backup [-f ] [-apk|-noapk] [-shared|-noshared] [-all] []\n" - " - Write an archive of the device's data to .\n" - " If a -f option is not supplied then the data is\n" - " written to \"backup.ab\" in the current directory.\n" + " adb backup [-f ] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosystem] []\n" + " - write an archive of the device's data to .\n" + " If no -f option is supplied then the data is written\n" + " to \"backup.ab\" in the current directory.\n" " (-apk|-noapk enable/disable backup of the .apks themselves\n" " in the archive; the default is noapk.)\n" " (-shared|-noshared enable/disable backup of the device's\n" " shared storage / SD card contents; the default is noshared.)\n" " (-all means to back up all installed applications)\n" + " (-system|-nosystem toggles whether -all automatically includes\n" + " system applications; the default is to include system apps)\n" " ( is the list of applications to be backed up. If\n" " the -all or -shared flags are passed, then the package\n" - " list is optional.)\n" + " list is optional. Applications explicitly given on the\n" + " command line will be included even if -nosystem would\n" + " ordinarily cause them to be omitted.)\n" "\n" " adb restore - restore device contents from the backup archive\n" "\n"