summaryrefslogtreecommitdiffstats
path: root/recovery.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-09-03 20:23:21 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-03 20:23:21 +0200
commitb56db27d08c168a9167bf2226baaebf24a0fe5aa (patch)
tree77009b128a87b1a5d61413500b6cc6ed1f196c24 /recovery.c
parentam 4c7c2f73: (-s ours) am 532c8600: Revert 21f0f97ebabb47adcbfe8d38b02685f2019b4eb3 (diff)
parentam 4bc98062: add --show_text option to recovery (diff)
downloadandroid_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.gz
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.bz2
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.lz
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.xz
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.zst
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.zip
Diffstat (limited to 'recovery.c')
-rw-r--r--recovery.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/recovery.c b/recovery.c
index 40e79d73a..779e77d76 100644
--- a/recovery.c
+++ b/recovery.c
@@ -46,6 +46,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 },
};
@@ -718,6 +719,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;