commit | a8bedc6ae3f6d610aa634445809835c26aaf16bc | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Sep 08 18:00:31 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Sep 14 13:40:27 2017 -0700 |
tree | cbfdbeef473f3073d5b7172ddc5dbd78232a38ee | |
parent | ded398e5b6530c4ced5bd42f9b75ca2caa527239 [diff] |
lshal: add HelpCommand Add *Command::usage() function for each Command and let Lshal class to call them. Suppress output from getopt_long and write our own error message to customized error stream (for testing). Test: lshal_test Test: lshal --help Change-Id: I8f5847c84a3e01af29fa85871479cab3baeb5312