forked from apache/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 Reviewed-on: http://gerrit.cloudera.org:8080/7301 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Kudu Jenkins
- Loading branch information
1 parent
9f7fed6
commit 7e0a56b
Showing
4 changed files
with
38 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters