summaryrefslogtreecommitdiff
path: root/src/GF/Shell/ShellCommands.hs
diff options
context:
space:
mode:
authorbringert <unknown>2004-12-10 14:02:00 +0000
committerbringert <unknown>2004-12-10 14:02:00 +0000
commit95d434bbd2e3722bdc1259971b25aee011b4f30f (patch)
tree1168f3a315bb7c30cc65a36a576737a645b76307 /src/GF/Shell/ShellCommands.hs
parent0d99169a7f3500fc13a610d1ebe3ca10926ec86a (diff)
Added visualization of source modules.
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 846c753bc..e30b8010b 100644
--- a/src/GF/Shell/ShellCommands.hs
+++ b/src/GF/Shell/ShellCommands.hs
@@ -57,6 +57,7 @@ data Command =
| CPrintLanguages
| CPrintInformation I.Ident
| CPrintMultiGrammar
+ | CPrintSourceGrammar
| CPrintGramlet
| CPrintCanonXML
| CPrintCanonXMLStruct
@@ -166,6 +167,7 @@ optionsOfCommand co = case co of
CPrintGrammar -> both "utf8" "printer lang"
CPrintMultiGrammar -> both "utf8" "printer"
+ CPrintSourceGrammar -> both "utf8" "printer"
CHelp _ -> opts "all filter length lexer unlexer printer transform depth number"