From 071f5e15440d676c36c6ed8a92618b8ca4bb36fe Mon Sep 17 00:00:00 2001 From: Bartosz Kosiorek Date: Tue, 12 Mar 2019 11:47:49 +0100 Subject: cmake: Reformat '--parallel' and '--verbose' options in help --- Help/manual/cmake.1.rst | 4 ++-- Source/cmakemain.cxx | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index e9a08b5..17593f0 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -269,7 +269,7 @@ following options: ``--build `` Project binary directory to be built. This is required and must be first. -``-j [], --parallel []`` +``--parallel [], -j []`` The maximum number of concurrent processes to use when building. If ```` is omitted the native build tool's default number is used. @@ -289,7 +289,7 @@ following options: ``--use-stderr`` Ignored. Behavior is default in CMake >= 3.0. -``-v, --verbose`` +``--verbose, -v`` Enable verbose output - if supported - including the build commands to be executed. diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 1c56bcd..a8431c4 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -54,10 +54,10 @@ static const char* cmDocumentationUsageNote[][2] = { # define CMAKE_BUILD_OPTIONS \ " = Project binary directory to be built.\n" \ - " -j [] --parallel [] = Build in parallel using\n" \ - " the given number of jobs. If is omitted\n" \ - " the native build tool's default number is used.\n" \ - " The CMAKE_BUILD_PARALLEL_LEVEL environment " \ + " --parallel [], -j []\n" \ + " = Build in parallel using the given number of jobs. \n" \ + " If is omitted the native build tool's \n" \ + " default number is used.\n" \ "variable\n" \ " specifies a default parallel level when this " \ "option\n" \ @@ -67,7 +67,7 @@ static const char* cmDocumentationUsageNote[][2] = { " --config = For multi-configuration tools, choose .\n" \ " --clean-first = Build target 'clean' first, then build.\n" \ " (To clean only, use --target 'clean'.)\n" \ - " -v --verbose = Enable verbose output - if supported - including\n" \ + " --verbose, -v = Enable verbose output - if supported - including\n" \ " the build commands to be executed. \n" \ " -- = Pass remaining options to the native tool.\n" -- cgit v0.12