aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2019-08-20 09:47:49 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-08-20 09:47:49 +0000
commite1976249a2f4ddf0d98952c2394db9b1e2c634a6 (patch)
treec1cf5bd83a0686707bbfe0d3874c7b305fcf384d
parentca19ff234f1a7ade1652fdfa53a4ce4f25b10d11 (diff)
downloadgcc-e1976249a2f4ddf0d98952c2394db9b1e2c634a6.zip
gcc-e1976249a2f4ddf0d98952c2394db9b1e2c634a6.tar.gz
gcc-e1976249a2f4ddf0d98952c2394db9b1e2c634a6.tar.bz2
[Ada] Fix documentation for GNAT.Command_Line.Exit_From_Command_Line
2019-08-20 Bob Duff <duff@adacore.com> gcc/ada/ * libgnat/g-comlin.ads (Exit_From_Command_Line): Fix documentation for GNAT.Command_Line. From-SVN: r274715
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/libgnat/g-comlin.ads4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index ef75e84..91128b4 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2019-08-20 Bob Duff <duff@adacore.com>
+
+ * libgnat/g-comlin.ads (Exit_From_Command_Line): Fix
+ documentation for GNAT.Command_Line.
+
2019-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
PR ada/91492
diff --git a/gcc/ada/libgnat/g-comlin.ads b/gcc/ada/libgnat/g-comlin.ads
index 3708c37..188b035 100644
--- a/gcc/ada/libgnat/g-comlin.ads
+++ b/gcc/ada/libgnat/g-comlin.ads
@@ -731,8 +731,8 @@ package GNAT.Command_Line is
-- Full_Switch omits the first leading '-'.
Exit_From_Command_Line : exception;
- -- Emitted when the program should exit. This is called when Getopt below
- -- has seen -h, --help or an invalid switch.
+ -- Raised when the program should exit because Getopt below has seen
+ -- a -h or --help switch.
procedure Getopt
(Config : Command_Line_Configuration;