aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gnatxref.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-07-17 08:47:15 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-07-17 08:47:15 +0200
commitbb01279084cc4ed7c7894d16be6af502fb5ad914 (patch)
tree4d92ba93eaafdfb64c5c62d90193677f7811f7c7 /gcc/ada/gnatxref.adb
parentee10c0ec8875d997a4892fbbdf5f49c2d6d824b9 (diff)
downloadgcc-bb01279084cc4ed7c7894d16be6af502fb5ad914.zip
gcc-bb01279084cc4ed7c7894d16be6af502fb5ad914.tar.gz
gcc-bb01279084cc4ed7c7894d16be6af502fb5ad914.tar.bz2
[multiple changes]
2014-07-17 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Document new restriction No_Long_Long_Integers. * exp_ch4.adb (Make_Array_Comparison_Op): Add note that we could do this by actually expanding a real generic. * a-tags.ads: Add comments about performance. * sprint.adb (Sprint_Node_Actual, case N_Object_Declaration): Print Etype of defining identifier, rather than the object definition. More information. 2014-07-17 Thomas Quinot <quinot@adacore.com> * exp_dist.adb: Minor documentation clarification. 2014-07-17 Hristian Kirtchev <kirtchev@adacore.com> * exp_util.adb (Is_Aliased): Revert previous change. 2014-07-17 Vincent Celier <celier@adacore.com> * g-comlin.adb (Try_Help): New procedure. (Getopt): Use new procedure Try_Help. * g-comlin.ads (Try_Help): New procedure. 2014-07-17 Bob Duff <duff@adacore.com> * gnat_ugn.texi: Minor update. From-SVN: r212728
Diffstat (limited to 'gcc/ada/gnatxref.adb')
-rw-r--r--gcc/ada/gnatxref.adb10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/gnatxref.adb b/gcc/ada/gnatxref.adb
index 2912b4f..1611ed9 100644
--- a/gcc/ada/gnatxref.adb
+++ b/gcc/ada/gnatxref.adb
@@ -210,7 +210,7 @@ procedure Gnatxref is
end if;
when others =>
- Put_Line ("type ""gnatxref --help"" for help");
+ Try_Help;
raise Usage_Error;
end case;
end loop;
@@ -227,7 +227,7 @@ procedure Gnatxref is
if Ada.Strings.Fixed.Index (S, ":") /= 0 then
Ada.Text_IO.Put_Line
("Only file names are allowed on the command line");
- Put_Line ("type ""gnatxref --help"" for help");
+ Try_Help;
raise Usage_Error;
end if;
@@ -240,13 +240,13 @@ procedure Gnatxref is
when GNAT.Command_Line.Invalid_Switch =>
Ada.Text_IO.Put_Line ("Invalid switch : "
& GNAT.Command_Line.Full_Switch);
- Put_Line ("type ""gnatxref --help"" for help");
+ Try_Help;
raise Usage_Error;
when GNAT.Command_Line.Invalid_Parameter =>
Ada.Text_IO.Put_Line ("Parameter missing for : "
& GNAT.Command_Line.Full_Switch);
- Put_Line ("type ""gnatxref --help"" for help");
+ Try_Help;
raise Usage_Error;
end Parse_Cmd_Line;
@@ -304,7 +304,7 @@ begin
if Argument_Count = 0 then
Write_Usage;
else
- Put_Line ("type ""gnatxref --help"" for help");
+ Try_Help;
raise Usage_Error;
end if;
end if;