drop blank completion
This commit is contained in:
parent
700f8e9d9c
commit
f1fd2e88dd
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ def fish_completion():
|
||||||
+ tuple(
|
+ tuple(
|
||||||
f'''complete -c borgmatic -a '{' '.join(action.option_strings)}' -d {shlex.quote(action.help)} {build_fish_flags(action)}'''
|
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
|
for action in top_level_parser._actions
|
||||||
|
if len(action.option_strings) > 0
|
||||||
)
|
)
|
||||||
+ ('\n# subparser flags',)
|
+ ('\n# subparser flags',)
|
||||||
+ tuple(
|
+ tuple(
|
||||||
|
|
Loading…
Reference in a new issue