mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 13:04:11 +01:00
Minor fix to warning messages
This commit is contained in:
parent
cdb6a9e948
commit
71f710cf0f
@ -251,7 +251,7 @@ static struct cmd_results *cmd_bindsym(int argc, char **argv) {
|
|||||||
} else {
|
} else {
|
||||||
free_sway_binding(binding);
|
free_sway_binding(binding);
|
||||||
return cmd_results_new(CMD_FAILURE, "bindsym",
|
return cmd_results_new(CMD_FAILURE, "bindsym",
|
||||||
"Invalid bindsym command"
|
"Invalid bindsym command "
|
||||||
"(expected more than 2 arguments, got %d)", argc);
|
"(expected more than 2 arguments, got %d)", argc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -317,7 +317,7 @@ static struct cmd_results *cmd_bindcode(int argc, char **argv) {
|
|||||||
} else {
|
} else {
|
||||||
free_sway_binding(binding);
|
free_sway_binding(binding);
|
||||||
return cmd_results_new(CMD_FAILURE, "bindcode",
|
return cmd_results_new(CMD_FAILURE, "bindcode",
|
||||||
"Invalid bindcode command"
|
"Invalid bindcode command "
|
||||||
"(expected more than 2 arguments, got %d)", argc);
|
"(expected more than 2 arguments, got %d)", argc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user