Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6b07d94 authored by Christopher Tate's avatar Christopher Tate Committed by Android (Google) Code Review
Browse files

Merge "Tweak logcat parameters"

parents de90da4d db0a880c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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);
    }