We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4b92ad commit 8da65b5Copy full SHA for 8da65b5
1 file changed
duva-client/src/command.rs
@@ -82,7 +82,7 @@ pub fn take_input(action: &str, args: &[&str]) -> Result<ClientInputKind, String
82
Err("(error) ERR unknown subcommand".to_string())
83
},
84
"REPLICAOF" => {
85
- if args.len() != 3 {
+ if args.len() != 2 {
86
return Err(
87
"(error) ERR wrong number of arguments for 'replicaof' command".to_string()
88
);
0 commit comments