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

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

Comments

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  <ebotcazou@adacore.com>

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

Patch

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