Commit 34aadf79 authored by antirez's avatar antirez
Browse files

Lua debugging: fix error message for SCRIPT DEBUG.

"async" -> "sync".

Thanks to Itamar Haber for reporting.
parent 3d24cd6b
......@@ -1474,7 +1474,7 @@ void scriptCommand(client *c) {
addReply(c,shared.ok);
c->flags |= CLIENT_LUA_DEBUG_SYNC;
} else {
addReplyError(c,"Use SCRIPT DEBUG yes/async/no");
addReplyError(c,"Use SCRIPT DEBUG yes/sync/no");
}
} else {
addReplyError(c, "Unknown SCRIPT subcommand or wrong # of args.");
......
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