From 1a860467bd1f348f9e922601c27a7472f1b1e144 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Beraud?= <hberaud@redhat.com>
Date: Thu, 23 May 2019 18:52:19 +0200
Subject: [PATCH] Add help msg to payload for CLI notifier

Change-Id: I3d712ecfcea00ece0180108c585c858795fd2bce
---
 oslo_messaging/notify/notifier.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/oslo_messaging/notify/notifier.py b/oslo_messaging/notify/notifier.py
index 6e4ea3d41..ebe05dd14 100644
--- a/oslo_messaging/notify/notifier.py
+++ b/oslo_messaging/notify/notifier.py
@@ -94,7 +94,8 @@ def _send_notification():
                             'oslo.messaging.notify.drivers'
                         ).names(),
                         help='Notification driver')
-    parser.add_argument('payload')
+    parser.add_argument('payload',
+                        help="the notification payload (dict)")
     args = parser.parse_args()
     conf = cfg.ConfigOpts()
     conf([],