logcat: Note in help that regexps are Perl-compatible

The expressions accepted by the '-e'/'--grep' command line option are
PCRE:

https://android.googlesource.com/platform/system/core/+/master/logcat/logcat.cpp#1018

Say so in the help string.

Change-Id: I7f6af130d5e39570bb49310a928f5d495e5b269b
This commit is contained in:
Brendan Jackman 2017-10-31 12:44:54 +00:00
parent f0da1c42a3
commit a5141130f3
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ static void show_help(android_logcat_context_internal* context) {
" -d Dump the log and then exit (don't block)\n"
" -e <expr>, --regex=<expr>\n"
" Only print lines where the log message matches <expr>\n"
" where <expr> is a regular expression\n"
" where <expr> is a Perl-compatible regular expression\n"
// Leave --head undocumented as alias for -m
" -m <count>, --max-count=<count>\n"
" Quit after printing <count> lines. This is meant to be\n"