summaryrefslogtreecommitdiff
path: root/src/GF/Shell/ShellCommands.hs
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2006-02-08 10:18:00 +0000
committeraarne <aarne@cs.chalmers.se>2006-02-08 10:18:00 +0000
commit98b24d0e33e2cb90244773f8ad7d3c4f3f73ecd0 (patch)
tree362fc849521607bb1bb5761b50f3f17ec317ae26 /src/GF/Shell/ShellCommands.hs
parent85910ef7766d70e9bb0674eb9f29ae4b05f98267 (diff)
command tb for creating treebanks
Diffstat (limited to 'src/GF/Shell/ShellCommands.hs')
-rw-r--r--src/GF/Shell/ShellCommands.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GF/Shell/ShellCommands.hs b/src/GF/Shell/ShellCommands.hs
index 48eac25a5..935b0be09 100644
--- a/src/GF/Shell/ShellCommands.hs
+++ b/src/GF/Shell/ShellCommands.hs
@@ -48,6 +48,7 @@ data Command =
| CTranslate Language Language
| CGenerateRandom
| CGenerateTrees
+ | CTreeBank
| CPutTerm
| CWrapTerm I.Ident
| CApplyTransfer (Maybe I.Ident, I.Ident)
@@ -182,6 +183,7 @@ optionsOfCommand co = case co of
CGenerateRandom -> both "cf prob" "cat lang number depth"
CGenerateTrees -> both "metas" "atoms depth alts cat lang number"
CPutTerm -> flags "transform number"
+ CTreeBank -> opts "xml"
CWrapTerm _ -> opts "c"
CApplyTransfer _ -> flags "lang transfer"
CMorphoAnalyse -> both "short" "lang"