summaryrefslogtreecommitdiff
path: root/src/GF/Shell
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2006-06-21 07:55:35 +0000
committeraarne <aarne@cs.chalmers.se>2006-06-21 07:55:35 +0000
commit3fd9f33323beff68406b63c685ac565e7d78d0ff (patch)
tree020d23053b3d0052bf52593786f5c55a1b94b10b /src/GF/Shell
parentb5539fe0dbb4fc14a3588da20be7f47fad343256 (diff)
nocf default, docf explicit or by HOAS
Diffstat (limited to 'src/GF/Shell')
-rw-r--r--src/GF/Shell/HelpFile.hs3
-rw-r--r--src/GF/Shell/ShellCommands.hs2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/GF/Shell/HelpFile.hs b/src/GF/Shell/HelpFile.hs
index 18dcd3579..9a4daa282 100644
--- a/src/GF/Shell/HelpFile.hs
+++ b/src/GF/Shell/HelpFile.hs
@@ -60,7 +60,8 @@ txtHelpFile =
"\n -src from source: ignore precompiled gfc and gfr files" ++
"\n -gfc from gfc: use compiled modules whenever they exist" ++
"\n -retain retain operations: read resource modules (needed in comm cc) " ++
- "\n -nocf don't build context-free grammar (thus no parser)" ++
+ "\n -nocf don't build old-style context-free grammar (default without HOAS)" ++
+ "\n -docf do build old-style context-free grammar (default with HOAS)" ++
"\n -nocheckcirc don't eliminate circular rules from CF " ++
"\n -cflexer build an optimized parser with separate lexer trie" ++
"\n -noemit do not emit code (default with old grammar format)" ++
diff --git a/src/GF/Shell/ShellCommands.hs b/src/GF/Shell/ShellCommands.hs
index 08b9720bd..cdfc75057 100644
--- a/src/GF/Shell/ShellCommands.hs
+++ b/src/GF/Shell/ShellCommands.hs
@@ -176,7 +176,7 @@ optionsOfCommand co = case co of
both "utf8 table struct record all multi"
"cat lang lexer parser number depth rawtrees unlexer optimize path conversion printer"
CImport _ ->
- both "old v s src make gfc retain nocf nocheckcirc cflexer noemit o make ex prob treebank"
+ both "old v s src make gfc retain docf nocf nocheckcirc cflexer noemit o make ex prob treebank"
"abs cnc res path optimize conversion cat preproc probs noparse"
CRemoveLanguage _ -> none
CEmptyState -> none