diff options
author | Oran Agra <oran@redislabs.com> | 2021-05-18 17:13:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 17:13:10 +0300 |
commit | 7b48de68ce13701f5a15191d1a6685336ffa3b0a (patch) | |
tree | bac60f2ec0252830778975ea611492dd5e3b948b /utils | |
parent | cf41c0b5ff72cf09d2e99c1807c6347bdcfdcacd (diff) | |
download | redis-7b48de68ce13701f5a15191d1a6685336ffa3b0a.tar.gz |
Remove useless - from help.h on commands with no arguments (#8939)
As far as i can tell it shows up in redis-cli in both HELP, e.g.
`help client list`, and also in the command completion tips, but it is
unclear what it was needed for.
It exists since the very first commit that added this mechanism.
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/generate-command-help.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/generate-command-help.rb b/utils/generate-command-help.rb index 929761b24..6b9a618d5 100755 --- a/utils/generate-command-help.rb +++ b/utils/generate-command-help.rb @@ -44,7 +44,7 @@ def argument arg end def arguments command - return "-" unless command["arguments"] + return "" unless command["arguments"] command["arguments"].map do |arg| argument arg end.join " " |