continue deduping
This commit is contained in:
parent
23f478ce74
commit
9c77ebb016
1 changed files with 1 additions and 2 deletions
|
@ -89,9 +89,8 @@ def fish_completion():
|
||||||
'\n# global flags',
|
'\n# global flags',
|
||||||
) + tuple(
|
) + tuple(
|
||||||
'''complete -c borgmatic -a '%s' -d %s -f'''
|
'''complete -c borgmatic -a '%s' -d %s -f'''
|
||||||
% (option, shlex.quote(action.help))
|
% (' '.join(action.option_strings), shlex.quote(action.help))
|
||||||
for action in top_level_parser._actions
|
for action in top_level_parser._actions
|
||||||
for option in action.option_strings
|
|
||||||
) + (
|
) + (
|
||||||
'\n# subparser flags',
|
'\n# subparser flags',
|
||||||
) + tuple(
|
) + tuple(
|
||||||
|
|
Loading…
Reference in a new issue