Skip to content

Commit 8da65b5

Browse files
committed
arg number set to two
1 parent f4b92ad commit 8da65b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

duva-client/src/command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pub fn take_input(action: &str, args: &[&str]) -> Result<ClientInputKind, String
8282
Err("(error) ERR unknown subcommand".to_string())
8383
},
8484
"REPLICAOF" => {
85-
if args.len() != 3 {
85+
if args.len() != 2 {
8686
return Err(
8787
"(error) ERR wrong number of arguments for 'replicaof' command".to_string()
8888
);

0 commit comments

Comments
 (0)