Skip to content

Commit

Permalink
Fix argcompletion shell code generation
Browse files Browse the repository at this point in the history
Regression introduced by c37cd68,
which bumped argcompletion, which included an undocumented breaking
change (kislyuk/argcomplete#246) that lead to
generating `d m a k e` instead of `dmake` in the final bash script,
breaking the completion (and maybe other things).
  • Loading branch information
thomas-riccardi committed Jan 25, 2021
1 parent 49d22a4 commit 6e4a94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmake/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def add_argument(parsers, *args, **kwargs):


def completion_action(args):
print(argcomplete.shellcode('dmake', shell=args.shell))
print(argcomplete.shellcode(['dmake'], shell=args.shell))


# Find root
Expand Down

0 comments on commit 6e4a94d

Please sign in to comment.