drop blank completion

This commit is contained in:
Isaac 2023-05-04 13:49:29 -07:00
parent 700f8e9d9c
commit f1fd2e88dd
No known key found for this signature in database
GPG key ID: E69FB5A841448A48

View file

@ -111,6 +111,7 @@ def fish_completion():
+ tuple(
f'''complete -c borgmatic -a '{' '.join(action.option_strings)}' -d {shlex.quote(action.help)} {build_fish_flags(action)}'''
for action in top_level_parser._actions
if len(action.option_strings) > 0
)
+ ('\n# subparser flags',)
+ tuple(