summaryrefslogtreecommitdiff
path: root/src/GF/Shell
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2006-05-30 22:02:25 +0000
committeraarne <aarne@cs.chalmers.se>2006-05-30 22:02:25 +0000
commitc51846361f18d372542f69e4bb281ef834750312 (patch)
treeb71221a1bf98e82422e26ab18db7440769612d9f /src/GF/Shell
parent719e75105158932558aaa071d2ede50e41a9454b (diff)
l -multi -all/-table ; same with tb
Diffstat (limited to 'src/GF/Shell')
-rw-r--r--src/GF/Shell/HelpFile.hs11
-rw-r--r--src/GF/Shell/ShellCommands.hs2
2 files changed, 8 insertions, 5 deletions
diff --git a/src/GF/Shell/HelpFile.hs b/src/GF/Shell/HelpFile.hs
index 16603b3ff..29f25aef8 100644
--- a/src/GF/Shell/HelpFile.hs
+++ b/src/GF/Shell/HelpFile.hs
@@ -185,11 +185,11 @@ txtHelpFile =
"\n HINT: see GF language specification for the syntax of Pattern and Term." ++
"\n You can also copy and past parsing results." ++
"\n options: " ++
- "\n -table show parameters" ++
"\n -struct bracketed form" ++
- "\n -record record, i.e. explicit GF concrete syntax term" ++
- "\n -all show all forms and variants" ++
- "\n -multi linearize to all languages (the other options don't work)" ++
+ "\n -table show parameters (not compatible with -record, -all)" ++
+ "\n -record record, i.e. explicit GF concrete syntax term (not compatible with -table, -all)" ++
+ "\n -all show all forms and variants (not compatible with -record, -table)" ++
+ "\n -multi linearize to all languages (can be combined with the other options)" ++
"\n flags:" ++
"\n -lang linearize in this grammar" ++
"\n -number give this number of forms at most" ++
@@ -243,6 +243,9 @@ txtHelpFile =
"\n options:" ++
"\n -c compare to existing xml-formatted treebank" ++
"\n -trees return the trees of the treebank" ++
+ "\n -all show all linearization alternatives (branches and variants)" ++
+ "\n -table show tables of linearizations with parameters" ++
+ "\n -record show linearization records" ++
"\n -xml wrap the treebank (or comparison results) with XML tags" ++
"\n -mem write the treebank in memory instead of a file TODO" ++
"\n examples:" ++
diff --git a/src/GF/Shell/ShellCommands.hs b/src/GF/Shell/ShellCommands.hs
index 2740101a7..a3a0139ea 100644
--- a/src/GF/Shell/ShellCommands.hs
+++ b/src/GF/Shell/ShellCommands.hs
@@ -186,7 +186,7 @@ optionsOfCommand co = case co of
CGenerateRandom -> both "cf prob" "cat lang number depth atoms noexpand doexpand"
CGenerateTrees -> both "metas" "atoms depth alts cat lang number noexpand doexpand"
CPutTerm -> flags "transform number"
- CTreeBank -> opts "c xml trees"
+ CTreeBank -> opts "c xml trees all table record"
CLookupTreebank -> both "assocs raw strings trees" "treebank"
CWrapTerm _ -> opts "c"
CApplyTransfer _ -> flags "lang transfer"