diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-29 14:14:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-29 14:14:24 +0200 |
commit | 8c48171d626d3a84d5ddb99ba04a1de646221005 (patch) | |
tree | c8aeca98710fc0573a9b88c34652ed3b7df40135 | |
parent | 9c3d872426871024d9b601f65698bf5d30466d20 (diff) |
Remove -p alias from --progress option
In other tools (which may also have --[no-]progress) -p is used for
something else.
-rw-r--r-- | build2/b-options.cxx | 4 | ||||
-rw-r--r-- | build2/b.cli | 2 |
2 files changed, 2 insertions, 4 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"] = diff --git a/build2/b.cli b/build2/b.cli index dc5b2b0..8d2b48e 100644 --- a/build2/b.cli +++ b/build2/b.cli @@ -366,7 +366,7 @@ namespace build2 \cb{--verbose 3}." } - bool --progress|-p + bool --progress { "Display build progress. If printing to a terminal the progress is displayed by default for low verbosity levels. Use \cb{--no-progress} |