From 8c48171d626d3a84d5ddb99ba04a1de646221005 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 29 Mar 2018 14:14:24 +0200 Subject: Remove -p alias from --progress option In other tools (which may also have --[no-]progress) -p is used for something else. --- build2/b-options.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'build2/b-options.cxx') 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"] = -- cgit v1.1