From 9daada9b9a59e143c03c408dd65cd887e175c968 Mon Sep 17 00:00:00 2001 From: Yvonne Stachowski Date: Wed, 28 Jan 2015 13:25:31 -0500 Subject: [PATCH] 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 --- glanceclient/shell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glanceclient/shell.py b/glanceclient/shell.py index 4eb174eb..1ceab6ba 100644 --- a/glanceclient/shell.py +++ b/glanceclient/shell.py @@ -670,7 +670,8 @@ class OpenStackImagesShell(object): self.parser.print_help() def do_bash_completion(self, _args): - """ + """Prints arguments for bash_completion. + Prints all of the commands and options to stdout so that the glance.bash_completion script doesn't have to hard code them. """