mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
put workspace output error string on one line
To ease grepping as requested
This commit is contained in:
parent
239e658f6b
commit
c24ca35c28
1 changed files with 2 additions and 2 deletions
|
|
@ -141,8 +141,8 @@ struct cmd_results *cmd_workspace(int argc, char **argv) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (output_location == 0) {
|
if (output_location == 0) {
|
||||||
return cmd_results_new(CMD_INVALID, "Expected 'workspace "
|
return cmd_results_new(CMD_INVALID,
|
||||||
"<name> output <output>'");
|
"Expected 'workspace <name> output <output>'");
|
||||||
} else if (output_location > 0) {
|
} else if (output_location > 0) {
|
||||||
if ((error = checkarg(argc, "workspace", EXPECTED_AT_LEAST,
|
if ((error = checkarg(argc, "workspace", EXPECTED_AT_LEAST,
|
||||||
output_location + 2))) {
|
output_location + 2))) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue