summaryrefslogtreecommitdiff
path: root/gcc/ada/gprep.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/gprep.adb')
-rw-r--r--gcc/ada/gprep.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/gprep.adb b/gcc/ada/gprep.adb
index 63286cad1fc..c4bf8e91a52 100644
--- a/gcc/ada/gprep.adb
+++ b/gcc/ada/gprep.adb
@@ -209,7 +209,7 @@ package body GPrep is
if Argument_Count = 0 then
Usage;
else
- Put_Line ("type ""gnatprep --help"" for help");
+ GNAT.Command_Line.Try_Help;
end if;
return;
@@ -218,7 +218,7 @@ package body GPrep is
-- No output file specified, exit
- Put_Line ("type ""gnatprep --help"" for help");
+ GNAT.Command_Line.Try_Help;
return;
end if;
@@ -773,7 +773,7 @@ package body GPrep is
when GNAT.Command_Line.Invalid_Switch =>
Write_Str ("Invalid Switch: -");
Write_Line (GNAT.Command_Line.Full_Switch);
- Put_Line ("type ""gnatprep --help"" for help");
+ GNAT.Command_Line.Try_Help;
OS_Exit (1);
end;
end loop;