mirror of
https://github.com/darlinghq/xcbuild.git
synced 2024-11-23 03:59:40 +00:00
print usage parsing the cmdline args resulted in an error
Closes: https://github.com/facebook/xcbuild/issues/274
This commit is contained in:
parent
eec239c50f
commit
72ba47965d
@ -46,7 +46,8 @@ Run(process::User const *user, process::Context const *processContext, process::
|
||||
Options options;
|
||||
std::pair<bool, std::string> result = libutil::Options::Parse<Options>(&options, processContext->commandLineArguments());
|
||||
if (!result.first) {
|
||||
fprintf(stderr, "error: %s\n", result.second.c_str());
|
||||
fprintf(stderr, "error: %s\n\n", result.second.c_str());
|
||||
UsageAction::Run(processContext);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user