NSXv Admin: Print usage if no properties are given for bgp-gw-edge

Change-Id: Ibae53f39c53c6a9330903e22da3e30bae0beae52
This commit is contained in:
Roey Chen 2017-06-13 04:29:54 -07:00
parent a56b62bbee
commit 22ec9f8e02

View File

@ -46,6 +46,7 @@ def parse_multi_keyval_opt(opt_list):
"""Converts a MutliStrOpt to a key-value dict"""
result = dict()
opt_list = opt_list if opt_list else []
for opt_value in opt_list:
try:
key, value = opt_value.split('=')