diff options
Diffstat (limited to 'gcc/ada/make.adb')
-rw-r--r-- | gcc/ada/make.adb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb index ebd2bfd9a52..15b63301429 100644 --- a/gcc/ada/make.adb +++ b/gcc/ada/make.adb @@ -5856,9 +5856,14 @@ package body Make is Targparm.Get_Target_Parameters; - -- Output usage information if no files to compile + -- Output usage information if no argument on the command line + + if Argument_Count = 0 then + Usage; + else + Write_Line ("type ""gnatmake --help"" for help"); + end if; - Usage; Finish_Program (Project_Tree, E_Success); end if; end if; |