diff options
| author | aarne <aarne@cs.chalmers.se> | 2006-03-05 20:30:37 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2006-03-05 20:30:37 +0000 |
| commit | 65d841bc1bd8c63a154bbc674d447dcabdd34400 (patch) | |
| tree | 893c25c44ca4b13f8abb09f8fbef8643ce633b82 /src/GF.hs | |
| parent | 2657c51e040964d9704f5c69945685ebd546eb6a (diff) | |
make help and treebank options
Diffstat (limited to 'src/GF.hs')
| -rw-r--r-- | src/GF.hs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -48,7 +48,7 @@ main = do doGF os fs = case 0 of - _ | opt getHelp -> do + _ | opt getHelp || any opt (map iOpt ["h", "-help", "-h"])-> do putStrLnFlush $ encodeUTF8 helpMsg _ | opt forJava -> do @@ -99,10 +99,11 @@ helpMsg = unlines [ " -edit start the editor GUI (same as command 'jgf')", " -ex first compile .gfe files as needed, then .gf files", " -examples batch-compile .gfe files by parsing examples", - " -help show this message", + " -treebank use a treebank, instead of a grammar, as parser", " -make batch-compile files", " -noemit do not emit code when compiling", " -v be verbose when compiling", + " -help show this message", "Also all flags for import (i) are interpreted; see 'help import'.", "An example combination of flags is", " gf -batch -nocpu -s", |
