summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-04-11 21:41:06 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-11 21:41:06 +0000
commit3559d98c267a6302618c9708e1fae298de2fcc1b (patch)
treef9d566f9efe0d70ec2178ef4764105115d8810ea
parentd85efaa068708b19db3cc647ba62c0a2feb7da23 (diff)
parenteef9f1da0b93e542aa25c5db6e5041609aaff77d (diff)
downloadsystem_core-3559d98c267a6302618c9708e1fae298de2fcc1b.zip
system_core-3559d98c267a6302618c9708e1fae298de2fcc1b.tar.gz
system_core-3559d98c267a6302618c9708e1fae298de2fcc1b.tar.bz2
am eef9f1da: am ba419940: Merge "logcat: Better help message for white and black list"
* commit 'eef9f1da0b93e542aa25c5db6e5041609aaff77d': logcat: Better help message for white and black list
-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"