Unverified Commit 5006eab5 authored by Viktor Söderqvist's avatar Viktor Söderqvist Committed by GitHub
Browse files

Module API doc formatting from #9656 (#10026)

Add blank before lists, so that they will be rendered as lists.

Commands RM_GetCommand and RM_CreateSubcommand were added in #9656.
parent aec8c577
...@@ -953,6 +953,7 @@ RedisModuleCommand *moduleCreateCommandProxy(struct RedisModule *module, const c ...@@ -953,6 +953,7 @@ RedisModuleCommand *moduleCreateCommandProxy(struct RedisModule *module, const c
* This structure is used in some of the command-related APIs. * This structure is used in some of the command-related APIs.
* *
* NULL is returned in case of the following errors: * NULL is returned in case of the following errors:
*
* * Command not found * * Command not found
* * The command is not a module command * * The command is not a module command
* * The command doesn't belong to the calling module * * The command doesn't belong to the calling module
...@@ -989,6 +990,7 @@ RedisModuleCommand *RM_GetCommand(RedisModuleCtx *ctx, const char *name) { ...@@ -989,6 +990,7 @@ RedisModuleCommand *RM_GetCommand(RedisModuleCtx *ctx, const char *name) {
* return REDISMODULE_ERR; * return REDISMODULE_ERR;
* *
* Returns REDISMODULE_OK on success and REDISMODULE_ERR in case of the following errors: * Returns REDISMODULE_OK on success and REDISMODULE_ERR in case of the following errors:
*
* * Error while parsing `strflags` * * Error while parsing `strflags`
* * Command is marked as `no-cluster` but cluster mode is enabled * * Command is marked as `no-cluster` but cluster mode is enabled
* * `parent` is already a subcommand (we do not allow more than one level of command nesting) * * `parent` is already a subcommand (we do not allow more than one level of command nesting)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment