about summary refs log tree commit diff
path: root/third_party/nix/src/libmain/shared.cc
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-07-23T04·33+0000
committerAlyssa Ross <hi@alyssa.is>2020-07-23T18·55+0000
commit231a36e203b21b2a11696bb28a33b2dd8d42d202 (patch)
tree06fd6e7abd71599b1ecdde87aeabb3389551e7bd /third_party/nix/src/libmain/shared.cc
parent5183e92e4fd8e1b1ca3a118e901d6d16e17d8b9d (diff)
chore(3p/nix): fix extra space in usage error r/1429
Change-Id: Ic8f8820ba8967166354951cf13af5fa134a1b6b8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1353
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/nix/src/libmain/shared.cc')
-rw-r--r--third_party/nix/src/libmain/shared.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/third_party/nix/src/libmain/shared.cc b/third_party/nix/src/libmain/shared.cc
index 3cbf59c88770..b04bd279b95a 100644
--- a/third_party/nix/src/libmain/shared.cc
+++ b/third_party/nix/src/libmain/shared.cc
@@ -300,8 +300,7 @@ int handleExceptions(const std::string& programName,
     return e.status;
   } catch (UsageError& e) {
     LOG(INFO) << e.what();
-    LOG(INFO) << "Try '" << programName << " "
-              << " --help' for more information.";
+    LOG(INFO) << "Try '" << programName << " --help' for more information.";
     return 1;
   } catch (BaseError& e) {
     LOG(ERROR) << error << (settings.showTrace ? e.prefix() : "") << e.msg();