platform_system_core/logcat
Mark Salyzyn e74e51ded7 logcat: Add -h and --help flags
If -h or --help argument was supplied, logcat would report the help
message but also return an error.  Officially add -h and --help as
recognized flags, report all help with a (zero) success error code.
Adding this, and the associated test, was split off as a stepping
stone to resolving an issue with logcat -L or --last flag operations.

Test: gTest logcat-unit-tests --gtest_filter=*.help
Bug: 28788401
Bug: 30041146
Bug: 30612424
Bug: 35326290
Change-Id: I948e7fa4e92bd23f52717758ffd96bbd068c53d4
2017-04-04 08:01:11 -07:00
..
include/log liblogcat: introduce getopt_long_r 2017-03-06 08:40:16 -08:00
tests logcat: Add -h and --help flags 2017-04-04 08:01:11 -07:00
.clang-format logcat: Add coding style 2017-02-17 14:42:14 -08:00
Android.mk liblogcat: introduce getopt_long_r 2017-03-06 08:40:16 -08:00
event.logtags liblog: benchmark add BM_log_event_overhead_42 for a well known tag 2017-03-31 13:25:36 -07:00
getopt_long.cpp liblogcat: introduce getopt_long_r 2017-03-06 08:40:16 -08:00
logcat.cpp logcat: Add -h and --help flags 2017-04-04 08:01:11 -07:00
logcat_main.cpp logcat: Create liblogcat 2017-02-17 14:42:14 -08:00
logcat_system.cpp liblogcat: add android_logcat_popen and android_logcat_system 2017-02-17 14:42:14 -08:00
logcatd.rc resolve merge conflicts of 5f6dbd9 to nyc-mr1-dev-plus-aosp 2016-08-08 13:10:35 -07:00
logpersist logcatd: fix up logpersist.cat to filter out signature file 2016-08-08 10:20:22 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00