diff options
-rw-r--r-- | adb/commandline.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); } |