Merge "Fix undesirable raw Python error"
This commit is contained in:
commit
e15d29fe9f
|
@ -347,6 +347,9 @@ class OpenStackManilaShell(object):
|
||||||
parser.add_argument('--os_cert',
|
parser.add_argument('--os_cert',
|
||||||
help=argparse.SUPPRESS)
|
help=argparse.SUPPRESS)
|
||||||
|
|
||||||
|
parser.set_defaults(func=self.do_help)
|
||||||
|
parser.set_defaults(command='')
|
||||||
|
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
def get_subcommand_parser(self, version):
|
def get_subcommand_parser(self, version):
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
`Bug #1902873 <https://bugs.launchpad.net/python-manilaclient/+bug/1902873>`_:
|
||||||
|
Fixed raw Python error message when using ``manila`` without
|
||||||
|
a subcommand while passing an optional argument, such as
|
||||||
|
``--os-cache``.
|
Loading…
Reference in New Issue