summaryrefslogtreecommitdiffstats
path: root/recovery.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-02-02 17:54:10 +0100
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-02-02 17:54:10 +0100
commit93dbe07ff6c06e8df2c804cbac63601fbb1de041 (patch)
tree0a18db391d237f0905ad270c08e0b094bfe65325 /recovery.c
parentadd a one-argument version of package_extract_file (diff)
parentchange log recovery to generic device_recovery_start function (diff)
downloadandroid_bootable_recovery-93dbe07ff6c06e8df2c804cbac63601fbb1de041.tar
android_bootable_recovery-93dbe07ff6c06e8df2c804cbac63601fbb1de041.tar.gz
android_bootable_recovery-93dbe07ff6c06e8df2c804cbac63601fbb1de041.tar.bz2
android_bootable_recovery-93dbe07ff6c06e8df2c804cbac63601fbb1de041.tar.lz
android_bootable_recovery-93dbe07ff6c06e8df2c804cbac63601fbb1de041.tar.xz
android_bootable_recovery-93dbe07ff6c06e8df2c804cbac63601fbb1de041.tar.zst
android_bootable_recovery-93dbe07ff6c06e8df2c804cbac63601fbb1de041.zip
Diffstat (limited to '')
-rw-r--r--recovery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/recovery.c b/recovery.c
index 1a885602d..73a54a23e 100644
--- a/recovery.c
+++ b/recovery.c
@@ -44,9 +44,8 @@ static const struct option OPTIONS[] = {
{ "update_package", required_argument, NULL, 'u' },
{ "wipe_data", no_argument, NULL, 'w' },
{ "wipe_cache", no_argument, NULL, 'c' },
- // TODO{oam}: implement improved command line passing key, egnot to review.
+ // TODO{oam}: implement improved command line passing key, egnor to review.
{ "set_encrypted_filesystem", required_argument, NULL, 'e' },
- { "recover_log", no_argument, NULL, 'g' },
{ NULL, 0, NULL, 0 },
};
@@ -492,13 +491,14 @@ main(int argc, char **argv) {
case 'w': wipe_data = wipe_cache = 1; break;
case 'c': wipe_cache = 1; break;
case 'e': efs_mode = optarg; toggle_efs = 1; break;
- case 'g': recover_firmware_update_log(); break;
case '?':
LOGE("Invalid command argument\n");
continue;
}
}
+ device_recovery_start();
+
fprintf(stderr, "Command:");
for (arg = 0; arg < argc; arg++) {
fprintf(stderr, " \"%s\"", argv[arg]);