mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
debugcomplete: don't list deprecated options
This commit is contained in:
parent
6a47111c36
commit
28f56d970a
@ -802,6 +802,8 @@ def debugcomplete(ui, cmd='', **opts):
|
||||
otables.append(entry[1])
|
||||
for t in otables:
|
||||
for o in t:
|
||||
if "(DEPRECATED)" in o[3]:
|
||||
continue
|
||||
if o[0]:
|
||||
options.append('-%s' % o[0])
|
||||
options.append('--%s' % o[1])
|
||||
|
Loading…
Reference in New Issue
Block a user