From db0a880c4682a90ddf078f03a0e709ddda07a2fd Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Wed, 30 Nov 2011 13:00:33 -0800 Subject: Tweak logcat parameters Change-Id: If97ee1eb682d95fa05b5e2003a204a628bd6ae4d --- adb/commandline.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'adb') diff --git a/adb/commandline.c b/adb/commandline.c index 4c15232..9f4ae97 100644 --- a/adb/commandline.c +++ b/adb/commandline.c @@ -561,6 +561,10 @@ static int logcat(transport_type transport, char* serial, int argc, char **argv) free(quoted_log_tags); + if (!strcmp(argv[0],"longcat")) { + strncat(buf, " -v long", sizeof(buf)-1); + } + argc -= 1; argv += 1; while(argc-- > 0) { @@ -1203,7 +1207,7 @@ top: return 0; } - if(!strcmp(argv[0],"logcat") || !strcmp(argv[0],"lolcat")) { + if(!strcmp(argv[0],"logcat") || !strcmp(argv[0],"lolcat") || !strcmp(argv[0],"longcat")) { return logcat(ttype, serial, argc, argv); } -- cgit v1.1