gotcha / ipdb

Integration of IPython pdb
BSD 3-Clause "New" or "Revised" License
1.85k stars 146 forks source link

Fix long options #168

Closed native-api closed 5 years ago

native-api commented 5 years ago

As per https://docs.python.org/3/library/getopt.html?highlight=getopt#getopt.getopt , the leading -- must not be included. Currently, suppying e.g. --help produces GetoptError: option --help not recognized

codecov-io commented 5 years ago

Codecov Report

Merging #168 into master will increase coverage by 0.76%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #168      +/-   ##
==========================================
+ Coverage   38.85%   39.62%   +0.76%     
==========================================
  Files           5        5              
  Lines         157      159       +2     
==========================================
+ Hits           61       63       +2     
  Misses         96       96
Impacted Files Coverage Δ
ipdb/__main__.py 26.36% <0%> (+0.67%) :arrow_up:
ipdb/stdout.py 44.44% <0%> (+2.13%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 72c60ba...9045d3a. Read the comment docs.