Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ff1e4d22
Commit
ff1e4d22
authored
Jan 16, 2013
by
charsyam
Committed by
antirez
Jan 19, 2013
Browse files
redis-cli prompt bug fix
parent
a8f9cec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
ff1e4d22
...
...
@@ -801,6 +801,7 @@ static void repl() {
sdsfree
(
config
.
hostip
);
config
.
hostip
=
sdsnew
(
argv
[
1
]);
config
.
hostport
=
atoi
(
argv
[
2
]);
cliRefreshPrompt
();
cliConnect
(
1
);
}
else
if
(
argc
==
1
&&
!
strcasecmp
(
argv
[
0
],
"clear"
))
{
linenoiseClearScreen
();
...
...
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