From 9ba64600ee1d125861285983aba8008006fb41d2 Mon Sep 17 00:00:00 2001 From: git-harry Date: Fri, 10 Feb 2017 15:41:15 +0000 Subject: [PATCH] Fix help messages for resource-listing commands --fields takes a space-separated list and not a comma-separated list. Change-Id: Id595970d97f46a8a024133f7cc7d8594fcb4be3b --- cratonclient/shell/v1/cells_shell.py | 2 +- cratonclient/shell/v1/hosts_shell.py | 2 +- cratonclient/shell/v1/projects_shell.py | 2 +- cratonclient/shell/v1/regions_shell.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cratonclient/shell/v1/cells_shell.py b/cratonclient/shell/v1/cells_shell.py index 9a75310..af890a8 100644 --- a/cratonclient/shell/v1/cells_shell.py +++ b/cratonclient/shell/v1/cells_shell.py @@ -55,7 +55,7 @@ def do_cell_show(cc, args): nargs='+', metavar='', default=[], - help='Comma-separated list of fields to display. ' + help='Space-separated list of fields to display. ' 'Only these fields will be fetched from the server. ' 'Can not be used when "--detail" is specified') def do_cell_list(cc, args): diff --git a/cratonclient/shell/v1/hosts_shell.py b/cratonclient/shell/v1/hosts_shell.py index d9b9bc6..d36e986 100644 --- a/cratonclient/shell/v1/hosts_shell.py +++ b/cratonclient/shell/v1/hosts_shell.py @@ -60,7 +60,7 @@ def do_host_show(cc, args): nargs='+', metavar='', default=[], - help='Comma-separated list of fields to display. ' + help='Space-separated list of fields to display. ' 'Only these fields will be fetched from the server. ' 'Can not be used when "--detail" is specified') def do_host_list(cc, args): diff --git a/cratonclient/shell/v1/projects_shell.py b/cratonclient/shell/v1/projects_shell.py index 6bda22e..0e9a846 100644 --- a/cratonclient/shell/v1/projects_shell.py +++ b/cratonclient/shell/v1/projects_shell.py @@ -44,7 +44,7 @@ def do_project_show(cc, args): nargs='+', metavar='', default=[], - help='Comma-separated list of fields to display. ' + help='Space-separated list of fields to display. ' 'Only these fields will be fetched from the server. ' 'Can not be used when "--detail" is specified') def do_project_list(cc, args): diff --git a/cratonclient/shell/v1/regions_shell.py b/cratonclient/shell/v1/regions_shell.py index c112185..920bb7d 100644 --- a/cratonclient/shell/v1/regions_shell.py +++ b/cratonclient/shell/v1/regions_shell.py @@ -41,7 +41,7 @@ def do_region_create(cc, args): nargs='+', metavar='', default=[], - help='Comma-separated list of fields to display. ' + help='Space-separated list of fields to display. ' 'Only these fields will be fetched from the server. ' 'Can not be used when "--detail" is specified') def do_region_list(cc, args):