Removed duplicate add_help from argument parsers in cli/image and cli/network
This commit is contained in:
parent
3296e524cc
commit
344a957a3f
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ class ImageParser(BaseParser):
|
|||
p.add_argument('--image-store-name', default='image_store')
|
||||
|
||||
def list(self, **kwargs):
|
||||
self.subparser.add_parser('list', add_help=False, **kwargs)
|
||||
self.subparser.add_parser('list', **kwargs)
|
||||
|
||||
|
||||
parser = ImageParser()
|
||||
|
|
|
@ -9,7 +9,7 @@ class NetworkParser(BaseParser):
|
|||
super().__init__('network')
|
||||
|
||||
def create(self, **kwargs):
|
||||
p = self.subparser.add_parser('create', add_help=False, parents=[get_otp_parser()], **kwargs)
|
||||
p = self.subparser.add_parser('create', parents=[get_otp_parser()], **kwargs)
|
||||
p.add_argument('--network-name', required=True)
|
||||
p.add_argument('--network-type', required=True, dest='type')
|
||||
p.add_argument('--user', action='store_true')
|
||||
|
|
Loading…
Reference in a new issue