summaryrefslogtreecommitdiffstats
path: root/recovery.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-09-03 20:00:13 +0200
committerDoug Zongker <dougz@android.com>2010-09-03 20:18:36 +0200
commit4bc980626c1cf6f1ea7d36e4b54e0023c896c9de (patch)
tree0859a3b4fcf443a194f3c36c3ac48fc072ec5e20 /recovery.c
parentRevert 21f0f97ebabb47adcbfe8d38b02685f2019b4eb3 (diff)
downloadandroid_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.gz
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.bz2
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.lz
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.xz
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.zst
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.zip
Diffstat (limited to '')
-rw-r--r--recovery.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/recovery.c b/recovery.c
index 04bf657d5..f8208ceca 100644
--- a/recovery.c
+++ b/recovery.c
@@ -45,6 +45,7 @@ static const struct option OPTIONS[] = {
{ "wipe_data", no_argument, NULL, 'w' },
{ "wipe_cache", no_argument, NULL, 'c' },
{ "set_encrypted_filesystems", required_argument, NULL, 'e' },
+ { "show_text", no_argument, NULL, 't' },
{ NULL, 0, NULL, 0 },
};
@@ -594,6 +595,7 @@ main(int argc, char **argv) {
case 'w': wipe_data = wipe_cache = 1; break;
case 'c': wipe_cache = 1; break;
case 'e': encrypted_fs_mode = optarg; toggle_secure_fs = 1; break;
+ case 't': ui_show_text(1); break;
case '?':
LOGE("Invalid command argument\n");
continue;