summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2017-10-20 17:09:35 (GMT)
committerGitHub <noreply@github.com>2017-10-20 17:09:35 (GMT)
commitaa7b69bfa61e05b5255a1454585f9f21bdf4fb6b (patch)
tree280e15c7409a08c1495261fe9e6f23f9fe05175d
parent887eccf1fdd91d50c4761bba79b5cf329a280ffb (diff)
parent251e476309723b82864db043ca1c3e405a25c358 (diff)
downloadNinja-aa7b69bfa61e05b5255a1454585f9f21bdf4fb6b.zip
Ninja-aa7b69bfa61e05b5255a1454585f9f21bdf4fb6b.tar.gz
Ninja-aa7b69bfa61e05b5255a1454585f9f21bdf4fb6b.tar.bz2
Merge pull request #1345 from refack/patch-2
escape usage examples
-rw-r--r--src/ninja.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index ed004ac..8d9e89c 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -212,10 +212,10 @@ void Usage(const BuildConfig& config) {
" -n dry run (don't run commands but act like they succeeded)\n"
" -v show all command lines while building\n"
"\n"
-" -d MODE enable debugging (use -d list to list modes)\n"
-" -t TOOL run a subtool (use -t list to list subtools)\n"
+" -d MODE enable debugging (use '-d list' to list modes)\n"
+" -t TOOL run a subtool (use '-t list' to list subtools)\n"
" terminates toplevel options; further flags are passed to the tool\n"
-" -w FLAG adjust warnings (use -w list to list warnings)\n",
+" -w FLAG adjust warnings (use '-w list' to list warnings)\n",
kNinjaVersion, config.parallelism);
}