aboutsummaryrefslogtreecommitdiff
path: root/build2/b-options.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-29 14:14:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-29 14:14:24 +0200
commit8c48171d626d3a84d5ddb99ba04a1de646221005 (patch)
treec8aeca98710fc0573a9b88c34652ed3b7df40135 /build2/b-options.cxx
parent9c3d872426871024d9b601f65698bf5d30466d20 (diff)
Remove -p alias from --progress option
In other tools (which may also have --[no-]progress) -p is used for something else.
Diffstat (limited to 'build2/b-options.cxx')
-rw-r--r--build2/b-options.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/build2/b-options.cxx b/build2/b-options.cxx
index 14ee628..231299f 100644
--- a/build2/b-options.cxx
+++ b/build2/b-options.cxx
@@ -686,7 +686,7 @@ namespace build2
<< " equivalent to \033[1m--verbose 3\033[0m." << ::std::endl;
os << std::endl
- << "\033[1m--progress\033[0m|\033[1m-p\033[0m Display build progress. If printing to a terminal the" << ::std::endl
+ << "\033[1m--progress\033[0m Display build progress. If printing to a terminal the" << ::std::endl
<< " progress is displayed by default for low verbosity levels." << ::std::endl
<< " Use \033[1m--no-progress\033[0m to suppress." << ::std::endl;
@@ -851,8 +851,6 @@ namespace build2
&::build2::cl::thunk< options, bool, &options::V_ >;
_cli_options_map_["--progress"] =
&::build2::cl::thunk< options, bool, &options::progress_ >;
- _cli_options_map_["-p"] =
- &::build2::cl::thunk< options, bool, &options::progress_ >;
_cli_options_map_["--no-progress"] =
&::build2::cl::thunk< options, bool, &options::no_progress_ >;
_cli_options_map_["--quiet"] =