diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-03-26 11:57:47 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-03-26 11:57:47 (GMT) |
commit | 13be2cf284d33ae7b241453939de4d01053b98b2 (patch) | |
tree | f15e0dd59686a2cb806682a9c67be3477d7261ba /Lib | |
parent | 27f43740b1bbccc04a308b61e990265a0e88a049 (diff) | |
download | cpython-13be2cf284d33ae7b241453939de4d01053b98b2.zip cpython-13be2cf284d33ae7b241453939de4d01053b98b2.tar.gz cpython-13be2cf284d33ae7b241453939de4d01053b98b2.tar.bz2 |
Added help options to PDB
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/pdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1238,7 +1238,7 @@ def help(): print 'along the Python search path' def main(): - if not sys.argv[1:]: + if not sys.argv[1:] or sys.argv[1] in ("--help", "-h"): print "usage: pdb.py scriptfile [arg] ..." sys.exit(2) |