chore(3p/nix): fix extra space in usage error
Change-Id: Ic8f8820ba8967166354951cf13af5fa134a1b6b8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1353 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
parent
5183e92e4f
commit
231a36e203
1 changed files with 1 additions and 2 deletions
3
third_party/nix/src/libmain/shared.cc
vendored
3
third_party/nix/src/libmain/shared.cc
vendored
|
@ -300,8 +300,7 @@ int handleExceptions(const std::string& programName,
|
||||||
return e.status;
|
return e.status;
|
||||||
} catch (UsageError& e) {
|
} catch (UsageError& e) {
|
||||||
LOG(INFO) << e.what();
|
LOG(INFO) << e.what();
|
||||||
LOG(INFO) << "Try '" << programName << " "
|
LOG(INFO) << "Try '" << programName << " --help' for more information.";
|
||||||
<< " --help' for more information.";
|
|
||||||
return 1;
|
return 1;
|
||||||
} catch (BaseError& e) {
|
} catch (BaseError& e) {
|
||||||
LOG(ERROR) << error << (settings.showTrace ? e.prefix() : "") << e.msg();
|
LOG(ERROR) << error << (settings.showTrace ? e.prefix() : "") << e.msg();
|
||||||
|
|
Loading…
Reference in a new issue