Todd Lipcon has uploaded a new patch set (#2). Change subject: tool: print usage information when arguments fail to parse ......................................................................
tool: print usage information when arguments fail to parse This changes the output when the user forgets to pass a required argument such that the usage string is now returned. Example: todd@va1022:~/kudu$ build/latest/bin/kudu fs dump block Invalid argument: must provide positional argument block_id Usage: build/latest/bin/kudu fs dump block <block_id> [-fs_wal_dir=<dir>] [-fs_data_dirs=<dirs>] Change-Id: I4695aca5cb3f848f525784476403a9f577fdba13 --- M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool_action.cc M src/kudu/tools/tool_action.h M src/kudu/tools/tool_main.cc 4 files changed, 37 insertions(+), 13 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/01/7301/2 -- To view, visit http://gerrit.cloudera.org:8080/7301 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I4695aca5cb3f848f525784476403a9f577fdba13 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <t...@apache.org> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot