Add help msg to payload for CLI notifier

Change-Id: I3d712ecfcea00ece0180108c585c858795fd2bce
This commit is contained in:
Hervé Beraud 2019-05-23 18:52:19 +02:00
parent fe0ac3195e
commit 1a860467bd

View File

@ -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([],