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
61dfc2e5
Commit
61dfc2e5
authored
Jan 19, 2013
by
Salvatore Sanfilippo
Browse files
Merge pull request #887 from charsyam/redis-cli-prompt
redis-cli prompt bug fix
parents
74f13730
e3962366
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
61dfc2e5
...
...
@@ -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