summaryrefslogtreecommitdiff
path: root/src/GF/Shell/PShell.hs
diff options
context:
space:
mode:
authoraarne <unknown>2004-04-30 15:18:38 +0000
committeraarne <unknown>2004-04-30 15:18:38 +0000
commitfc99b225a7f39e8762e23acc78bf12398c9c11d9 (patch)
tree22be2304e9bb959f601d7bb8620235e51d3a4a37 /src/GF/Shell/PShell.hs
parentc9d10ab5ed8b82ba0f74a25ca30103ccf0985e6d (diff)
generation command gt n
Diffstat (limited to 'src/GF/Shell/PShell.hs')
-rw-r--r--src/GF/Shell/PShell.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GF/Shell/PShell.hs b/src/GF/Shell/PShell.hs
index 9a1185032..b4cd335a7 100644
--- a/src/GF/Shell/PShell.hs
+++ b/src/GF/Shell/PShell.hs
@@ -71,8 +71,8 @@ pCommand ws = case ws of
"p" : s -> aString CParse s
"t" : i:o: s -> aString (CTranslate (language i) (language o)) s
"gr" : [] -> aUnit (CGenerateRandom 1)
- "gt" : t -> aTerm (CGenerateRandom 1) t
---- "gr" : n : [] -> aUnit (CGenerateRandom (readIntArg n)) -- deprecated 12/5/2001
+ "gr" : t -> aTerm (CGenerateRandom 1) t
+ "gt" : n : [] -> aUnit (CGenerateTrees (readIntArg n))
"pt" : s -> aTerm CPutTerm s
----- "wt" : f : s -> aTerm (CWrapTerm (string2id f)) s
"ma" : s -> aString CMorphoAnalyse s