From 4bc980626c1cf6f1ea7d36e4b54e0023c896c9de Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Fri, 3 Sep 2010 11:00:13 -0700 Subject: add --show_text option to recovery Change-Id: Ie6c6c920260dfa759fbb15b1f352d6bb0fa7146c --- recovery.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recovery.c') 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; -- cgit v1.2.3