summaryrefslogtreecommitdiff
path: root/src/compiler/GFI.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2011-12-14 15:28:27 +0000
committerhallgren <hallgren@chalmers.se>2011-12-14 15:28:27 +0000
commit15678a0fced17d9ed40b8a79985820b15dcc11d8 (patch)
tree17cde9c086c3920c702adaa85cd4ccff5626a7dd /src/compiler/GFI.hs
parent02bcfa209872699a3bdb0562c15f74100da4d983 (diff)
gf -server[=port]
You can now specify which port the HTTP server should run on in server mode. The default is 41296.
Diffstat (limited to 'src/compiler/GFI.hs')
-rw-r--r--src/compiler/GFI.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/GFI.hs b/src/compiler/GFI.hs
index 5b807eb7a..3fd751739 100644
--- a/src/compiler/GFI.hs
+++ b/src/compiler/GFI.hs
@@ -69,8 +69,8 @@ mainGFI opts files = do
shell opts files = loop opts =<< importInEnv emptyGFEnv opts files
#ifdef SERVER_MODE
-mainServerGFI opts0 files =
- server (execute1 opts) =<< importInEnv emptyGFEnv opts files
+mainServerGFI opts0 port files =
+ server port (execute1 opts) =<< importInEnv emptyGFEnv opts files
where opts = beQuiet opts0
#else
mainServerGFI opts files =