summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Interactive.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-10-16 16:28:54 +0000
committerhallgren <hallgren@chalmers.se>2014-10-16 16:28:54 +0000
commit6375bacc73c5ba2f0dd660fab18b590506027822 (patch)
treec151726dc25b54b2f991be0111afb50d2f65a0ab /src/compiler/GF/Interactive.hs
parent070057e6950d7d07d05c91bb90033d012c6e8f01 (diff)
Some work on the haddock documentation
Diffstat (limited to 'src/compiler/GF/Interactive.hs')
-rw-r--r--src/compiler/GF/Interactive.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler/GF/Interactive.hs b/src/compiler/GF/Interactive.hs
index 5944d04a7..18bee2e49 100644
--- a/src/compiler/GF/Interactive.hs
+++ b/src/compiler/GF/Interactive.hs
@@ -53,7 +53,7 @@ import GF.Infra.BuildInfo(buildInfo)
import Data.Version(showVersion)
import Paths_gf(version)
--- | Run the GF Shell in quiet mode
+-- | Run the GF Shell in quiet mode (@gf -run@).
mainRunGFI :: Options -> [FilePath] -> IO ()
mainRunGFI opts files = shell (beQuiet opts) files
@@ -68,7 +68,8 @@ mainGFI opts files = do
shell opts files = loop opts =<< runSIO (importInEnv emptyGFEnv opts files)
#ifdef SERVER_MODE
--- | Start GF Server
+-- | Run the GF Server (@gf -server@).
+-- The 'Int' argument is the port number for the HTTP service.
mainServerGFI opts0 port files =
server port root (execute1 opts)
=<< runSIO (importInEnv emptyGFEnv opts files)