From f9d5a884c747998542c20c35e796012b875ac91f Mon Sep 17 00:00:00 2001 From: yanpuqing Date: Fri, 26 Jul 2019 11:03:32 +0800 Subject: Modify the help message of `-c`/`--column` parameter Some users ues `-c`/`--column` parameter in the wrong way, such as: --column='ID Name' --column='ID:Name' --column='ID,Name' The patch modifies the help message of `-c`/`--column` parameter to indicate the correct use of the parameter. Change-Id: I7a5082ea6cbb91e2c5d3348f5a52558aab09d820 Task: 29052 Story: 2004845 --- cliff/display.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cliff/display.py b/cliff/display.py index b4948de..73d68a8 100644 --- a/cliff/display.py +++ b/cliff/display.py @@ -71,7 +71,8 @@ class DisplayCommandBase(command.Command): default=[], dest='columns', metavar='COLUMN', - help='specify the column(s) to include, can be repeated', + help='specify the column(s) to include, can be ' + 'repeated to show multiple columns', ) for formatter in self._formatter_plugins: formatter.obj.add_argument_group(parser) -- cgit v1.2.1