Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 'xgroup help' should show help message #1159

Merged
merged 1 commit into from Apr 30, 2023
Merged

fix: 'xgroup help' should show help message #1159

merged 1 commit into from Apr 30, 2023

Conversation

romange
Copy link
Collaborator

@romange romange commented Apr 29, 2023

Along the way, performs small cleanups in command handling code.

Fixes #854.

Along the way, performs small cleanups in command handling code.
XGROUP HELP is special because it falls out of Dragonfly command taxonomy design,
where a command name determines where its key is located. All other XGROUP subcommands
expect to see XGROUP <subcmd> <key> and this one obviously does not need any key.
I fix it by working around the issue and introduce a dedicated dummy command for this combination.

Fixes #854.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
@romange romange merged commit 418f529 into main Apr 30, 2023
6 checks passed
@romange romange deleted the Pr3 branch April 30, 2023 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XGROUP HELP crashes the server
2 participants