[Ada] Fix gnatmetric switches description
authorVasiliy Fofanov <fofanov@adacore.com>
Mon, 9 Mar 2020 10:22:17 +0000 (11:22 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 10 Jun 2020 13:35:00 +0000 (09:35 -0400)
2020-06-10  Vasiliy Fofanov  <fofanov@adacore.com>

gcc/ada/

* doc/gnat_ugn/gnat_utility_programs.rst: Fix gnatmetric
switches description.

gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst

index 11de52e5239454d7e428bbc37644ce4551097094..336b55137bb963eb9f0f194ea6e559f8542d831e 100644 (file)
@@ -2338,11 +2338,11 @@ Alternatively, you may run the script using the following command line:
     Do not report the number of public subprograms with complete contracts
 
 
-  :switch:`--contract-all`
+  :switch:`--contract-cyclomatic`
     Report the McCabe complexity of public subprograms
 
 
-  :switch:`--no-contract-all`
+  :switch:`--no-contract-cyclomatic`
     Do not report the McCabe complexity of public subprograms