Fixed CLI help for bash-completion
When running 'glance help' the following lines were displayed:
bash-completion Prints all of the commands and options to stdout so
that the
The help now prints:
bash-completion Prints arguments for bash_completion.
similar to other Openstack CLIs (such as Cinder and Trove).
Change-Id: I1b1d60e23a3662675c5e81a332e9fd8360f6c7b1
This commit is contained in:
@@ -670,7 +670,8 @@ class OpenStackImagesShell(object):
|
|||||||
self.parser.print_help()
|
self.parser.print_help()
|
||||||
|
|
||||||
def do_bash_completion(self, _args):
|
def do_bash_completion(self, _args):
|
||||||
"""
|
"""Prints arguments for bash_completion.
|
||||||
|
|
||||||
Prints all of the commands and options to stdout so that the
|
Prints all of the commands and options to stdout so that the
|
||||||
glance.bash_completion script doesn't have to hard code them.
|
glance.bash_completion script doesn't have to hard code them.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user