summaryrefslogtreecommitdiff
path: root/src/GF/Shell/PShell.hs
diff options
context:
space:
mode:
authoraarne <unknown>2004-12-29 13:48:41 +0000
committeraarne <unknown>2004-12-29 13:48:41 +0000
commit46f85fb13a569e27863565b4ec99800038e3fd68 (patch)
tree7ed6a706c39192140bf768caf7e55559a1672926 /src/GF/Shell/PShell.hs
parentbba1cb2d108225f6078b6a12af3cc9256329ac7b (diff)
command cm
Diffstat (limited to 'src/GF/Shell/PShell.hs')
-rw-r--r--src/GF/Shell/PShell.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GF/Shell/PShell.hs b/src/GF/Shell/PShell.hs
index ff447fc6d..dd62067f2 100644
--- a/src/GF/Shell/PShell.hs
+++ b/src/GF/Shell/PShell.hs
@@ -68,6 +68,8 @@ pCommand ws = case ws of
"i" : f : [] -> aUnit (CImport f)
"rl" : l : [] -> aUnit (CRemoveLanguage (language l))
"e" : [] -> aUnit CEmptyState
+ "cm" : a : [] -> aUnit (CChangeMain (Just (pzIdent a)))
+ "cm" : [] -> aUnit (CChangeMain Nothing)
"s" : [] -> aUnit CStripState
"tg" : f : [] -> aUnit (CTransformGrammar f)
"cl" : f : [] -> aUnit (CConvertLatex f)