aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlmain.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlmain.adb')
-rw-r--r--src/ghdldrv/ghdlmain.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlmain.adb b/src/ghdldrv/ghdlmain.adb
index 59e615c18..e1680c3c7 100644
--- a/src/ghdldrv/ghdlmain.adb
+++ b/src/ghdldrv/ghdlmain.adb
@@ -434,6 +434,9 @@ package body Ghdlmain is
Errorout.Console.Set_Program_Name (Command_Name);
Errorout.Console.Install_Handler;
+ -- Initialize global structures.
+ Options.Initialize;
+
-- Handle case of no argument
if Argument_Count = 0 then
Error ("missing command, try " & Command_Name & " 'help'");