Same fix for -P option as Steve's previous fix.
--HG-- extra : convert_revision : aaefeafa04df1074711f90b9e1f5c488d4c678d3
This commit is contained in:
parent
cfe22d61d9
commit
295c7a908c
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ while args_left:
|
||||||
elif optchar == 'I':
|
elif optchar == 'I':
|
||||||
AddToPath(args_left.pop(0))
|
AddToPath(args_left.pop(0))
|
||||||
elif optchar == 'P':
|
elif optchar == 'P':
|
||||||
eval(args_left.pop(0))
|
exec args_left.pop(0)
|
||||||
else:
|
else:
|
||||||
showBriefHelp(sys.stderr)
|
showBriefHelp(sys.stderr)
|
||||||
panic("invalid argument '%s'\n" % arg_str)
|
panic("invalid argument '%s'\n" % arg_str)
|
||||||
|
|
Loading…
Reference in a new issue