Update git submodules
* Update pbr from branch 'master' - Merge "Set subparser argument required" - Set subparser argument required When subparser argument is not provided by user argparse return an error message not really useful for user: 'Namespace' object has no attribute 'func' This is due to the fact that when we launch the pbr in cli mode the subparser argument is not mandatory (required) and directly we try to execute a undefined function. Set the subparser required is more helpful for users due to the fact that argparse display the helping message with the available sub-commands that users can use These changes provides the following output if the argument is not passed: usage: pbr [-h] [-v] {sha,info,freeze} ... main.py: error: too few arguments Change-Id: I7982f9d40cb0979ddb89d7bc53964167f8e4b269
This commit is contained in:
parent
f0ebb76093
commit
aca67f8413
2
pbr
2
pbr
@ -1 +1 @@
|
||||
Subproject commit e38c222ce1a7fdc7774d3dc246152052f84c5f25
|
||||
Subproject commit e00bf5b18e8529f1e26a70c84ff84cf4678aac64
|
Loading…
Reference in New Issue
Block a user