summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2017-08-15 10:01:02 -0700
committerYifan Hong <elsk@google.com>2017-08-15 10:05:14 -0700
commit45a0eadfc4e0c43236e2995355a4142c9c12d423 (patch)
tree344906b1d70189faf56fdc927372f9d0fb34099f
parentdfdc1559f224c2ec81d3957ba7ce3e337abc67d6 (diff)
downloadnative-45a0eadfc4e0c43236e2995355a4142c9c12d423.tar.gz
lshal: add help message for --neat
Test: pass Bug: 38211518 Change-Id: If493c439f41a5a8576662ea23df688ece804f281
-rw-r--r--cmds/lshal/Lshal.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/lshal/Lshal.cpp b/cmds/lshal/Lshal.cpp
index e2d5f6df0a..0d4a1d193a 100644
--- a/cmds/lshal/Lshal.cpp
+++ b/cmds/lshal/Lshal.cpp
@@ -69,7 +69,7 @@ void Lshal::usage(const std::string &command) const {
" lshal [list] [--interface|-i] [--transport|-t] [-r|--arch] [-e|--threads]\n"
" [--pid|-p] [--address|-a] [--clients|-c] [--cmdline|-m]\n"
" [--sort={interface|i|pid|p}] [--init-vintf[=<output file>]]\n"
- " [--debug|-d[=<output file>]]\n"
+ " [--debug|-d[=<output file>]] [--neat]\n"
" -i, --interface: print the interface name column\n"
" -n, --instance: print the instance name column\n"
" -t, --transport: print the transport mode column\n"
@@ -84,7 +84,8 @@ void Lshal::usage(const std::string &command) const {
" IBase::debug with empty options\n"
" --sort=i, --sort=interface: sort by interface name\n"
" --sort=p, --sort=pid: sort by server pid\n"
- " --init-vintf=<output file>: form a skeleton HAL manifest to specified\n"
+ " --neat: output is machine parsable (no explanatory text)\n"
+ " --init-vintf[=<output file>]: form a skeleton HAL manifest to specified\n"
" file, or stdout if no file specified.\n";
static const std::string debug =