File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,11 +125,11 @@ class AugmentedHelpFormatter(argparse.HelpFormatter):
125
125
def __init__ (self , prog : Optional [str ]) -> None :
126
126
super ().__init__ (prog = prog , max_help_position = 28 )
127
127
128
+
128
129
# Define pairs of flag prefixes with inverse meaning.
129
130
flag_prefix_pairs = [
130
131
('allow' , 'disallow' ),
131
132
('show' , 'hide' ),
132
- ('check' , 'ignore' )
133
133
]
134
134
flag_prefix_map = {} # type: Dict[str, str]
135
135
for a , b in flag_prefix_pairs :
@@ -223,7 +223,7 @@ def add_invertible_flag(flag: str,
223
223
add_invertible_flag ('--show-error-context' , default = True ,
224
224
dest = 'hide_error_context' ,
225
225
help = 'Precede errors with "note:" messages explaining context' )
226
- add_invertible_flag ('--fast-parser' , inverse = '--old-parser' , default = False ,
226
+ add_invertible_flag ('--fast-parser' , default = False ,
227
227
help = "enable fast parser (recommended)" )
228
228
parser .add_argument ('-i' , '--incremental' , action = 'store_true' ,
229
229
help = "enable experimental module cache" )
You can’t perform that action at this time.
0 commit comments