summaryrefslogtreecommitdiffstats
path: root/logcat/logcat.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-04-11 13:49:43 -0700
committerMark Salyzyn <salyzyn@google.com>2014-04-11 13:49:43 -0700
commitbbbe14f758d7b9f147daf82a59b317b087631c01 (patch)
tree519fbd827ff5709502b431120d8bae9c0dc65494 /logcat/logcat.cpp
parent822b1a024d058641be9aefa14da794f09755ce35 (diff)
downloadsystem_core-bbbe14f758d7b9f147daf82a59b317b087631c01.zip
system_core-bbbe14f758d7b9f147daf82a59b317b087631c01.tar.gz
system_core-bbbe14f758d7b9f147daf82a59b317b087631c01.tar.bz2
logcat: Better help message for white and black list
Change-Id: Ia739260b4e0fcf8062ad9166fd65b1d6e7bb446c
Diffstat (limited to 'logcat/logcat.cpp')
-rw-r--r--logcat/logcat.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp
index 00a60bd..ca97208 100644
--- a/logcat/logcat.cpp
+++ b/logcat/logcat.cpp
@@ -230,12 +230,16 @@ static void show_help(const char *cmd)
" 'events' or 'all'. Multiple -b parameters are allowed and\n"
" results are interleaved. The default is -b main -b system.\n"
" -B output the log in binary.\n"
- " -S output statistics.\n");
-
- fprintf(stderr, " -G <count> set size of log's ring buffer and exit\n"
- " -p output prune white and ~black list\n"
- " -P '<list> ...' set prune white and ~black list; UID, /PID or !(worst UID)\n"
- " default is ~!, prune worst UID.\n");
+ " -S output statistics.\n"
+ " -G <size> set size of log ring buffer, may suffix with K or M.\n"
+ " -p print prune white and ~black list. Service is specified as\n"
+ " UID, UID/PID or /PID. Weighed for quicker pruning if prefix\n"
+ " with ~, otherwise weighed for longevity if unadorned. All\n"
+ " other pruning activity is oldest first. Special case ~!\n"
+ " represents an automatic quicker pruning for the noisiest\n"
+ " UID as determined by the current statistics.\n"
+ " -P '<list> ...' set prune white and ~black list, using same format as\n"
+ " printed above. Must be quoted.\n");
fprintf(stderr,"\nfilterspecs are a series of \n"
" <tag>[:priority]\n\n"