put workspace output error string on one line

To ease grepping as requested
This commit is contained in:
Ryan Farley 2020-03-24 09:56:50 -05:00
parent 239e658f6b
commit c24ca35c28

View file

@ -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))) {