diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-09-20 09:04:40 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-09-20 09:04:40 +0200 |
commit | a039d22a3cfeebb5bcda0be4244a1d0d507d30e2 (patch) | |
tree | 42754a1816a2f6b9703bb7b9f50ce77fd0a9cc90 /src/ghdldrv/ghdlrun.adb | |
parent | 84649d6666d13452025ee693d16e752a63846fc1 (diff) | |
download | ghdl-a039d22a3cfeebb5bcda0be4244a1d0d507d30e2.tar.gz ghdl-a039d22a3cfeebb5bcda0be4244a1d0d507d30e2.tar.bz2 ghdl-a039d22a3cfeebb5bcda0be4244a1d0d507d30e2.zip |
ghdldrv: adjust style and some error messages.
Diffstat (limited to 'src/ghdldrv/ghdlrun.adb')
-rw-r--r-- | src/ghdldrv/ghdlrun.adb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ghdldrv/ghdlrun.adb b/src/ghdldrv/ghdlrun.adb index a1a3f2505..e19216fff 100644 --- a/src/ghdldrv/ghdlrun.adb +++ b/src/ghdldrv/ghdlrun.adb @@ -793,9 +793,8 @@ package body Ghdlrun is is pragma Unreferenced (Cmd); begin - return - Name = "run-help" or else - Name = "--run-help"; + return Name = "run-help" + or else Name = "--run-help"; end Decode_Command; function Get_Short_Help (Cmd : Command_Run_Help) return String @@ -813,7 +812,7 @@ package body Ghdlrun is pragma Unreferenced (Cmd); begin if Args'Length /= 0 then - Error ("warning: command '--run-help' does not accept any argument"); + Error ("warning: command 'run-help' does not accept any argument"); end if; Put_Line ("These options can only be placed at [RUNOPTS]"); -- Register modules, since they add commands. |