bug fixes
This commit is contained in:
@@ -123,7 +123,7 @@ class Config:
|
||||
if 'instrument' in result:
|
||||
raise ArgError('cannot give instrument twice')
|
||||
result['instrument'] = arg
|
||||
elif arg in argmap:
|
||||
else:
|
||||
kind = argmap.get(arg, other)
|
||||
if kind is None:
|
||||
raise ArgError(f'unexpected argument: {arg!r}')
|
||||
|
||||
Reference in New Issue
Block a user