python3 getopt.GetOpError:无法识别选项

python3 getopt.GetOpError:无法识别选项,python,windows,command-line,arguments,getopt,Python,Windows,Command Line,Arguments,Getopt,我传递参数——load duplicates.json,得到这个异常。怎么了 raise GetoptError(uquo('option--%s未识别')%opt,opt)getopt.GetoptError:option--保存重复项.json未识别 我在窗户上以防万一 optlist, args = getopt.getopt(sys.argv[1:], 'l:s:pd', ['load=', 'save=', 'print', 'delete'])

我传递参数
——load duplicates.json
,得到这个异常。怎么了

raise GetoptError(uquo('option--%s未识别')%opt,opt)getopt.GetoptError:option--保存重复项.json未识别

我在窗户上以防万一

optlist, args = getopt.getopt(sys.argv[1:], 'l:s:pd', ['load=', 'save=', 'print', 'delete'])