r274307 - in /trunk/gcc/ada: ChangeLog libgnat/...
pmderodat@gcc.gnu.org
pmderodat@gcc.gnu.org
Mon Aug 12 09:08:00 GMT 2019
Author: pmderodat
Date: Mon Aug 12 09:01:53 2019
New Revision: 274307
URL: https://gcc.gnu.org/viewcvs?rev=274307&root=gcc&view=rev
Log:
[Ada] New parameter Quiet for procedure GNAT.Command_Line.Getopt
Getopt procedure is parsing the command line or set of strings. If the
command line contains unknown switch than the Getopt prints error
message to the console and raises the exception Invalid_Switch. The
printing can be inappropriate in some cases. The new parameter Quiet
allows avoiding console output.
2019-08-12 Dmitriy Anisimkov <anisimko@adacore.com>
gcc/ada/
* libgnat/g-comlin.ads, libgnat/g-comlin.adb (Getopt): Add
parameter Quiet. Need to do not output error messages to
console. Invalid_Switch exception generation surrounded by an
error message.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/libgnat/g-comlin.adb
trunk/gcc/ada/libgnat/g-comlin.ads
More information about the Gcc-cvs
mailing list