Skip to content

Commit c10eeb6

Browse files
committed
cli: strip args else this fails on parsing
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent 64907c1 commit c10eeb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/cli/cloudmonkey/cloudmonkey.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def get_api_module(self, api_name, api_class_strs=[]):
230230
return api_mod
231231

232232
def default(self, args):
233-
args = args.split(" ")
233+
args = args.strip().split(" ")
234234
api_name = args[0]
235235

236236
try:

0 commit comments

Comments
 (0)