summaryrefslogtreecommitdiff
path: root/src/compiler/GF.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/GF.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/GF.hs')
-rw-r--r--src/compiler/GF.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF.hs b/src/compiler/GF.hs
index ba5082fc8..052e02c88 100644
--- a/src/compiler/GF.hs
+++ b/src/compiler/GF.hs
@@ -45,5 +45,5 @@ mainOpts opts files =
ModeHelp -> putStrLn helpMessage
ModeInteractive -> mainGFI opts files
ModeRun -> mainRunGFI opts files
- ModeServer -> mainServerGFI opts files
+ ModeServer port -> mainServerGFI opts port files
ModeCompiler -> mainGFC opts files