From e1976249a2f4ddf0d98952c2394db9b1e2c634a6 Mon Sep 17 00:00:00 2001 From: Bob Duff Date: Tue, 20 Aug 2019 09:47:49 +0000 Subject: [PATCH] [Ada] Fix documentation for GNAT.Command_Line.Exit_From_Command_Line 2019-08-20 Bob Duff gcc/ada/ * libgnat/g-comlin.ads (Exit_From_Command_Line): Fix documentation for GNAT.Command_Line. From-SVN: r274715 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/libgnat/g-comlin.ads | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index ef75e84c6a6..91128b41d26 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2019-08-20 Bob Duff + + * libgnat/g-comlin.ads (Exit_From_Command_Line): Fix + documentation for GNAT.Command_Line. + 2019-08-20 Pierre-Marie de Rodat PR ada/91492 diff --git a/gcc/ada/libgnat/g-comlin.ads b/gcc/ada/libgnat/g-comlin.ads index 3708c37b842..188b03506ad 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; -- 2.30.2