with Gnatvsn; use Gnatvsn;
-
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Float_Text_IO;
with Ada.Integer_Text_IO;
begin
New_Line;
Put ("GNATMEM ");
- Put (Gnat_Version_String);
- Put_Line (" Copyright 1997-2004 Free Software Foundation, Inc.");
+ Put_Line (Gnat_Version_String);
+ Put_Line ("Copyright 1997-2004 Free Software Foundation, Inc.");
New_Line;
Put_Line ("Usage: gnatmem switches [depth] exename");
Version_Output := True;
Output.Write_Eol;
Output.Write_Str ("GNATNAME ");
- Output.Write_Str (Gnatvsn.Gnat_Version_String);
+ Output.Write_Line (Gnatvsn.Gnat_Version_String);
Output.Write_Line
- (" Copyright 2001-2004 Free Software Foundation, Inc.");
+ ("Copyright 2001-2004 Free Software Foundation, Inc.");
end if;
end Output_Version;
Write_Eol;
Write_Str ("GNATSYMB ");
Write_Str (Gnat_Version_String);
- Write_Str (" Copyright 2003-2004 Free Software Foundation, Inc");
+ Write_Eol;
+ Write_Str ("Copyright 2003-2004 Free Software Foundation, Inc");
Write_Eol;
Copyright_Displayed := True;
end if;
with GNAT.Directory_Operations; use GNAT.Directory_Operations;
with GNAT.Regpat; use GNAT.Regpat;
-
procedure Gprcmd is
-- ??? comments are thin throughout this unit
-- go to standard output.
Put (Standard_Error, "GPRCMD ");
- Put (Standard_Error, Gnatvsn.Gnat_Version_String);
+ Put_Line (Standard_Error, Gnatvsn.Gnat_Version_String);
Put_Line (Standard_Error,
- " Copyright 2002-2004, Free Software Fundation, Inc.");
+ "Copyright 2002-2004, Free Software Fundation, Inc.");
Usage;
elsif Cmd = "pwd" then
procedure Output_Version is
begin
Put ("GNAT ");
- Put (Gnatvsn.Gnat_Version_String);
- Put_Line (" Copyright 1996-2004 Free Software Foundation, Inc.");
+ Put_Line (Gnatvsn.Gnat_Version_String);
+ Put_Line ("Copyright 1996-2004 Free Software Foundation, Inc.");
end Output_Version;
-----------