Skip to content

Commit

Permalink
fix rzb command listing
Browse files Browse the repository at this point in the history
  • Loading branch information
fsmaibrgm committed Jun 28, 2023
1 parent a518179 commit 834f96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/razorback/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, *args, **kwds):
super().__init__(*args, **kwds)

def list_commands(self, ctx):
return sorted(super().list_commands(ctx) + list(self.extra_commands))
return sorted(set(super().list_commands(ctx) + list(self.extra_commands)))

def get_command(self, ctx, name):
return self.extra_commands.get(name) or super().get_command(ctx, name)
Expand Down

0 comments on commit 834f96b

Please sign in to comment.