Skip to main content

CONFIG HELP

Syntax

CONFIG HELP

Time complexity: O(1)

ACL categories: @slow

The CONFIG HELP command returns a helpful text describing the different CONFIG subcommands supported by Dragonfly.

Return

Array reply: a list of subcommands and their descriptions.

Example

The output of the CONFIG HELP command includes the following entries as implemented in Dragonfly:

dragonfly> CONFIG HELP
1) CONFIG <subcommand> [<arg> [value] [opt] ...]. Subcommands are:
2) GET <pattern>
3) Return parameters matching the glob-like <pattern> and their values.
4) SET <directive> <value>
5) Set the configuration <directive> to <value>.
6) RESETSTAT
7) Reset statistics reported by the INFO command.
8) REWRITE
9) Rewrite the configuration file with the current configuration.
10) HELP
11) Prints this help.