summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-10-04 11:46:53 +0200
committerantirez <antirez@gmail.com>2019-10-04 11:46:53 +0200
commit3eaff2941e6625c77c6eee5a53b8b94f94b78e33 (patch)
tree361af7920f2401328db3c559312c72bfc5999fdd
parent2a81e49ddee1db6ae3c09bc8b9e1b05d430571f0 (diff)
downloadredis-3eaff2941e6625c77c6eee5a53b8b94f94b78e33.tar.gz
Modules: RM_Call(): give pointer to documentation.
-rw-r--r--src/module.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c
index 0e9c22e54..82ba9f86c 100644
--- a/src/module.c
+++ b/src/module.c
@@ -2857,7 +2857,10 @@ fmterr:
* NULL is returned and errno is set to the following values:
*
* EINVAL: command non existing, wrong arity, wrong format specifier.
- * EPERM: operation in Cluster instance with key in non local slot. */
+ * EPERM: operation in Cluster instance with key in non local slot.
+ *
+ * This API is documented here: https://redis.io/topics/modules-intro
+ */
RedisModuleCallReply *RM_Call(RedisModuleCtx *ctx, const char *cmdname, const char *fmt, ...) {
struct redisCommand *cmd;
client *c = NULL;