From 56a1a50f8320bcbd6a3d083429f9a83dff066035 Mon Sep 17 00:00:00 2001 From: ZhiQiang Fan Date: Mon, 30 May 2016 23:32:43 +0800 Subject: [PATCH] fix help text for option --composite-rule It seems some spaces are absent. Change-Id: Ia0658cf133a7b5842489191e7f9f57db9911317b --- aodhclient/v2/alarm_cli.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/aodhclient/v2/alarm_cli.py b/aodhclient/v2/alarm_cli.py index 7dadaaf..c32cb8b 100644 --- a/aodhclient/v2/alarm_cli.py +++ b/aodhclient/v2/alarm_cli.py @@ -312,11 +312,11 @@ class CliAlarmCreate(show.ShowOne): '--composite-rule', metavar='', dest='composite_rule', type=jsonutils.loads, - help='Composite threshold rule with JSON format, the form can' - 'be a nested dict which combine threshold/gnocchi rules by' - ' "and", "or". For example, the form is like: ' - '{"or":[RULE1, RULE2, {"and": [RULE3, RULE4]}]}, The' - 'RULEx can be basic threshold rules but must include a' + help='Composite threshold rule with JSON format, the form can ' + 'be a nested dict which combine threshold/gnocchi rules by ' + '"and", "or". For example, the form is like: ' + '{"or":[RULE1, RULE2, {"and": [RULE3, RULE4]}]}, The ' + 'RULEx can be basic threshold rules but must include a ' '"type" field, like this: {"threshold": 0.8,' '"meter_name":"cpu_util","type":"threshold"}' )