continue deduping

This commit is contained in:
Isaac 2023-04-28 12:15:01 -07:00
parent 23f478ce74
commit 9c77ebb016
No known key found for this signature in database
GPG Key ID: E69FB5A841448A48
1 changed files with 1 additions and 2 deletions

View File

@ -89,9 +89,8 @@ def fish_completion():
'\n# global flags',
) + tuple(
'''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 option in action.option_strings
) + (
'\n# subparser flags',
) + tuple(