summaryrefslogtreecommitdiff
path: root/partition_tools
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-11-19 17:07:14 -0800
committerDavid Anderson <dvander@google.com>2019-11-19 17:08:12 -0800
commit58871e428352ab000d46b4afd4e91f4407194f6a (patch)
treed439ebbdaddfaf992077db00dccf74046a9b080a /partition_tools
parentc42dc84680e91d3fea8bbf83339faa30b9db94bf (diff)
downloadextras-58871e428352ab000d46b4afd4e91f4407194f6a.tar.gz
lpdump: When using -h, print usage to stdout so lpdumpd prints it.
Bug: N/A Test: lpdump -h Change-Id: I7bad9f8b5d5c14b831e42d1f21fe8bfeccba3fb0
Diffstat (limited to 'partition_tools')
-rw-r--r--partition_tools/lpdump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/partition_tools/lpdump.cc b/partition_tools/lpdump.cc
index 2eb9f1fe..098d45ba 100644
--- a/partition_tools/lpdump.cc
+++ b/partition_tools/lpdump.cc
@@ -396,7 +396,7 @@ int LpdumpMain(int argc, char* argv[], std::ostream& cout, std::ostream& cerr) {
dump_all = true;
break;
case 'h':
- usage(argc, argv, cerr);
+ usage(argc, argv, cout);
return EX_OK;
case 's': {
uint32_t slot_arg;