Skip to content

Commit 1eed0f7

Browse files
committed
shell module refine
1 parent 11b8155 commit 1eed0f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shell/command.py

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def add_param_help(parser, param_msgs):
107107
params = []
108108
for param, msg in param_msgs:
109109
parser.add_argument(param, **msg)
110+
param = param.lstrip('-')
110111
params.append(param)
111112

112113
return params

0 commit comments

Comments
 (0)