Add help infomation for policy abbreviation
When we create policy with long abbreviation that more than 5 chars, like: "test_abbr", API exception is raised from Congress server side. Add some help infomation to remind users inputing "abbreviation" arguments with right format. Change-Id: I48cab945286aacc12c1474c5074f6febb941e723 Related-Bug: #1497881
This commit is contained in:
@@ -271,7 +271,9 @@ class CreatePolicy(show.ShowOne):
|
||||
parser.add_argument(
|
||||
'--abbreviation',
|
||||
metavar="<abbreviation>",
|
||||
help="Policy abbreviation (used in traces)")
|
||||
help="Policy abbreviation (used in traces). The length of the "
|
||||
"string must be equal to or less than 5 characters. Defaults "
|
||||
"to the first five characters of policy_name if not set.")
|
||||
parser.add_argument(
|
||||
'--kind',
|
||||
metavar="<kind>",
|
||||
|
||||
Reference in New Issue
Block a user