summaryrefslogtreecommitdiffstats
path: root/logcat/logcat.cpp
diff options
context:
space:
mode:
authorBrendan Jackman <brendan.jackman@arm.com>2017-10-31 12:44:54 +0000
committerBrendan Jackman <brendan.jackman@arm.com>2017-10-31 12:44:54 +0000
commita5141130f3e67a8e5b7fe893baae8d20a83e39d6 (patch)
tree66fb8283cd51b7b863931dc4f134ca2c5f78e2ec /logcat/logcat.cpp
parentf0da1c42a3edb40d09a6ea49fee05bb0d6d243fc (diff)
downloadsystem_core-a5141130f3e67a8e5b7fe893baae8d20a83e39d6.tar.gz
system_core-a5141130f3e67a8e5b7fe893baae8d20a83e39d6.tar.bz2
system_core-a5141130f3e67a8e5b7fe893baae8d20a83e39d6.zip
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
Diffstat (limited to 'logcat/logcat.cpp')
-rw-r--r--logcat/logcat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp
index 07981fcc8..a2aa48605 100644
--- a/logcat/logcat.cpp
+++ b/logcat/logcat.cpp
@@ -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"