Patchwork [Ada] Adjust description of -gnatn switch in usage information

mail settings
Submitter Arnaud Charlet
Date Oct. 12, 2010, 9:38 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/67513/
State New
Headers show


Arnaud Charlet - Oct. 12, 2010, 9:38 a.m.
This makes it explicit in the usage information that -gnatn is needed to
activate pragma Inline in all cases.

Tested on x86_64-pc-linux-gnu, committed on trunk

2010-10-12  Eric Botcazou  <>

	* usage.adb (usage): Adjust line for -gnatn switch.


Index: usage.adb
--- usage.adb	(revision 165316)
+++ usage.adb	(working copy)
@@ -279,7 +279,7 @@  begin
    --  Line for -gnatn switch
    Write_Switch_Char ("n");
-   Write_Line ("Inlining of subprograms (apply pragma Inline across units)");
+   Write_Line ("Enable pragma Inline (both within and across units)");
    --  Line for -gnatN switch