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
e3962366
Commit
e3962366
authored
Jan 16, 2013
by
charsyam
Browse files
redis-cli prompt bug fix
parent
ea1f503c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
e3962366
...
...
@@ -794,6 +794,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