From 146e4e6bad0f8984ccdc94eec0229198e1063efe Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Wed, 10 Aug 2022 00:17:38 +0400 Subject: Help: Split `ctest` options into groups like `cmake` man page has Co-Authored-By: Craig Scott --- Help/manual/OPTIONS_HELP.txt | 14 ++-- Help/manual/ctest.1.rst | 183 +++++++++++++++++++++++-------------------- 2 files changed, 106 insertions(+), 91 deletions(-) diff --git a/Help/manual/OPTIONS_HELP.txt b/Help/manual/OPTIONS_HELP.txt index 0e51a7f..78ee245 100644 --- a/Help/manual/OPTIONS_HELP.txt +++ b/Help/manual/OPTIONS_HELP.txt @@ -1,4 +1,9 @@ -.. |file| replace:: The help is printed to a named ```` if given. +.. |file| replace:: The output is printed to a named ```` if given. + +.. option:: -version [], --version [], /V [] + + Show program name/version banner and exit. + |file| .. option:: -h, -H, --help, -help, -usage, /? @@ -6,13 +11,6 @@ Usage describes the basic command line interface and its options. -.. option:: -version [], --version [], /V [] - - Show program name/version banner and exit. - - If a file is specified, the version is written into it. - |file| - .. option:: --help-full [] Print all help manuals and exit. diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst index 02bdcaf..5f6927f 100644 --- a/Help/manual/ctest.1.rst +++ b/Help/manual/ctest.1.rst @@ -10,12 +10,24 @@ Synopsis .. parsed-literal:: - ctest [] - ctest --build-and-test - --build-generator [...] - [--build-options ...] [--test-command [...]] - ctest {-D | -M -T | -S