diff options
Diffstat (limited to 'src/ghdldrv')
-rw-r--r-- | src/ghdldrv/ghdlmain.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdlmain.adb b/src/ghdldrv/ghdlmain.adb index 6d768bbbe..e884dbe13 100644 --- a/src/ghdldrv/ghdlmain.adb +++ b/src/ghdldrv/ghdlmain.adb @@ -261,11 +261,11 @@ package body Ghdlmain is use Simple_IO; begin if Args'Length /= 0 then - if Args (1).all = "ref" then + if Args (1).all = "ref" or else Args (1).all = "--ref" then Put_Line (Version.Ghdl_Ref); return; end if; - if Args (1).all = "hash" then + if Args (1).all = "hash" or else Args (1).all = "--hash" then Put_Line (Version.Ghdl_Hash); return; end if; |