diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp index 37f4f4f27..ca7893069 100644 --- a/logcat/logcat.cpp +++ b/logcat/logcat.cpp @@ -278,61 +278,58 @@ static void show_help(const char *cmd) fprintf(stderr,"Usage: %s [options] [filterspecs]\n", cmd); fprintf(stderr, "options include:\n" - " -s Set default filter to silent.\n" - " Like specifying filterspec '*:S'\n" - " -f Log to file. Default is stdout\n" - " --file=\n" - " -r Rotate log every kbytes. Requires -f\n" - " --rotate-kbytes=\n" - " -n Sets max number of rotated logs to , default 4\n" - " --rotate-count=\n" - " -v Sets the log print format, where is:\n" - " --format=\n" - " brief color epoch long monotonic printable process raw\n" - " tag thread threadtime time uid usec UTC year zone\n\n" - " -D print dividers between each log buffer\n" - " --dividers\n" - " -c clear (flush) the entire log and exit\n" - " --clear\n" - " -d dump the log and then exit (don't block)\n" - " -e only print lines where the log message matches \n" - " --regex where is a regular expression\n" - " -m quit after printing lines. This is meant to be\n" - " --max-count= paired with --regex, but will work on its own.\n" - " --print paired with --regex and --max-count to let content bypass\n" + " -s Set default filter to silent. Equivalent to filterspec '*:S'\n" + " -f , --file= Log to file. Default is stdout\n" + " -r , --rotate-kbytes=\n" + " Rotate log every kbytes. Requires -f option\n" + " -n , --rotate-count=\n" + " Sets max number of rotated logs to , default 4\n" + " -v , --format=\n" + " Sets the log print format, where is:\n" + " brief color epoch long monotonic printable process raw\n" + " tag thread threadtime time uid usec UTC year zone\n" + " -D, --dividers Print dividers between each log buffer\n" + " -c, --clear Clear (flush) the entire log and exit\n" + " -d Dump the log and then exit (don't block)\n" + " -e , --regex=\n" + " Only print lines where the log message matches \n" + " where is a regular expression\n" + // Leave --head undocumented as alias for -m + " -m , --max-count=\n" + " Quit after printing lines. This is meant to be\n" + " paired with --regex, but will work on its own.\n" + " --print Paired with --regex and --max-count to let content bypass\n" " regex filter but still stop at number of matches.\n" - " -t print only the most recent lines (implies -d)\n" - " -t '