diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2018-11-13 15:56:22 (GMT) |
---|---|---|
committer | Jan Niklas Hasse <jhasse@bixense.com> | 2018-11-13 15:56:22 (GMT) |
commit | bf7517505ad1def03e13bec2b4131399331bc5c4 (patch) | |
tree | 817ba0e67711137a4407cbd13e8f47ab1f2e9a52 | |
parent | d3ea98a8c3ea1782eaead13259c83afcf02d8090 (diff) | |
download | Ninja-bf7517505ad1def03e13bec2b4131399331bc5c4.zip Ninja-bf7517505ad1def03e13bec2b4131399331bc5c4.tar.gz Ninja-bf7517505ad1def03e13bec2b4131399331bc5c4.tar.bz2 |
Add --verbose as an alternative spelling for -v, fix #1310
-rw-r--r-- | src/ninja.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index 8108f21..b919950 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -210,7 +210,7 @@ void Usage(const BuildConfig& config) { " -k N keep going until N jobs fail (0 means infinity) [default=1]\n" " -l N do not start new jobs if the load average is greater than N\n" " -n dry run (don't run commands but act like they succeeded)\n" -" -v show all command lines while building\n" +" -v, --verbose 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" @@ -1102,6 +1102,7 @@ int ReadFlags(int* argc, char*** argv, const option kLongOptions[] = { { "help", no_argument, NULL, 'h' }, { "version", no_argument, NULL, OPT_VERSION }, + { "verbose", no_argument, NULL, 'v' }, { NULL, 0, NULL, 0 } }; |