Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8a73cd1f
Commit
8a73cd1f
authored
Jul 18, 2021
by
Paul Kulchenko
Committed by
GitHub
Jul 18, 2021
Browse files
Update Lua debugging help message commands for consistency. (#2946)
parent
71c0466c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
8a73cd1f
...
@@ -2654,11 +2654,11 @@ ldbLog(sdsnew("Redis Lua debugger help:"));
...
@@ -2654,11 +2654,11 @@ ldbLog(sdsnew("Redis Lua debugger help:"));
ldbLog
(
sdsnew
(
"[h]elp Show this help."
));
ldbLog
(
sdsnew
(
"[h]elp Show this help."
));
ldbLog
(
sdsnew
(
"[s]tep Run current line and stop again."
));
ldbLog
(
sdsnew
(
"[s]tep Run current line and stop again."
));
ldbLog
(
sdsnew
(
"[n]ext Alias for step."
));
ldbLog
(
sdsnew
(
"[n]ext Alias for step."
));
ldbLog
(
sdsnew
(
"[c]
c
ontinue Run till next breakpoint."
));
ldbLog
(
sdsnew
(
"[c]ontinue
Run till next breakpoint."
));
ldbLog
(
sdsnew
(
"[l]
l
ist List source code around current line."
));
ldbLog
(
sdsnew
(
"[l]ist
List source code around current line."
));
ldbLog
(
sdsnew
(
"[l]
l
ist [line] List source code around [line]."
));
ldbLog
(
sdsnew
(
"[l]ist [line]
List source code around [line]."
));
ldbLog
(
sdsnew
(
" line = 0 means: current position."
));
ldbLog
(
sdsnew
(
" line = 0 means: current position."
));
ldbLog
(
sdsnew
(
"[l]
l
ist [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
(
" to show before/after [line]."
));
ldbLog
(
sdsnew
(
"[w]hole List all source code. Alias for 'list 1 1000000'."
));
ldbLog
(
sdsnew
(
"[w]hole List all source code. Alias for 'list 1 1000000'."
));
ldbLog
(
sdsnew
(
"[p]rint Show all the local variables."
));
ldbLog
(
sdsnew
(
"[p]rint Show all the local variables."
));
...
@@ -2669,7 +2669,7 @@ ldbLog(sdsnew("[b]reak <line> Add a breakpoint to the specified line."));
...
@@ -2669,7 +2669,7 @@ ldbLog(sdsnew("[b]reak <line> Add a breakpoint to the specified line."));
ldbLog
(
sdsnew
(
"[b]reak -<line> Remove breakpoint from the specified line."
));
ldbLog
(
sdsnew
(
"[b]reak -<line> Remove breakpoint from the specified line."
));
ldbLog
(
sdsnew
(
"[b]reak 0 Remove all breakpoints."
));
ldbLog
(
sdsnew
(
"[b]reak 0 Remove all breakpoints."
));
ldbLog
(
sdsnew
(
"[t]race Show a backtrace."
));
ldbLog
(
sdsnew
(
"[t]race Show a backtrace."
));
ldbLog
(
sdsnew
(
"[e]
e
val <code> Execute some Lua code (in a different callframe)."
));
ldbLog
(
sdsnew
(
"[e]val <code>
Execute some Lua code (in a different callframe)."
));
ldbLog
(
sdsnew
(
"[r]edis <cmd> Execute a Redis command."
));
ldbLog
(
sdsnew
(
"[r]edis <cmd> Execute a Redis command."
));
ldbLog
(
sdsnew
(
"[m]axlen [len] Trim logged Redis replies and Lua var dumps to len."
));
ldbLog
(
sdsnew
(
"[m]axlen [len] Trim logged Redis replies and Lua var dumps to len."
));
ldbLog
(
sdsnew
(
" Specifying zero as <len> means unlimited."
));
ldbLog
(
sdsnew
(
" Specifying zero as <len> means unlimited."
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment