From 8a73cd1f9a8fb788d49b5d2015bf1283098dc873 Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Sun, 18 Jul 2021 04:11:09 -0700 Subject: [PATCH] Update Lua debugging help message commands for consistency. (#2946) --- src/scripting.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scripting.c b/src/scripting.c index 73f40e3f9..b485d01ed 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -2654,11 +2654,11 @@ ldbLog(sdsnew("Redis Lua debugger help:")); ldbLog(sdsnew("[h]elp Show this help.")); ldbLog(sdsnew("[s]tep Run current line and stop again.")); ldbLog(sdsnew("[n]ext Alias for step.")); -ldbLog(sdsnew("[c]continue Run till next breakpoint.")); -ldbLog(sdsnew("[l]list List source code around current line.")); -ldbLog(sdsnew("[l]list [line] List source code around [line].")); +ldbLog(sdsnew("[c]ontinue Run till next breakpoint.")); +ldbLog(sdsnew("[l]ist List source code around current line.")); +ldbLog(sdsnew("[l]ist [line] List source code around [line].")); ldbLog(sdsnew(" line = 0 means: current position.")); -ldbLog(sdsnew("[l]list [line] [ctx] In this form [ctx] specifies how many lines")); +ldbLog(sdsnew("[l]ist [line] [ctx] In this form [ctx] specifies how many lines")); ldbLog(sdsnew(" to show before/after [line].")); ldbLog(sdsnew("[w]hole List all source code. Alias for 'list 1 1000000'.")); ldbLog(sdsnew("[p]rint Show all the local variables.")); @@ -2669,7 +2669,7 @@ ldbLog(sdsnew("[b]reak Add a breakpoint to the specified line.")); ldbLog(sdsnew("[b]reak - Remove breakpoint from the specified line.")); ldbLog(sdsnew("[b]reak 0 Remove all breakpoints.")); ldbLog(sdsnew("[t]race Show a backtrace.")); -ldbLog(sdsnew("[e]eval Execute some Lua code (in a different callframe).")); +ldbLog(sdsnew("[e]val Execute some Lua code (in a different callframe).")); ldbLog(sdsnew("[r]edis Execute a Redis command.")); ldbLog(sdsnew("[m]axlen [len] Trim logged Redis replies and Lua var dumps to len.")); ldbLog(sdsnew(" Specifying zero as means unlimited."));