summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Command/Commands.hs
diff options
context:
space:
mode:
authorHans Leiss <leiss@cis.uni-muenchen.de>2025-02-19 12:59:43 +0100
committerHans Leiss <leiss@cis.uni-muenchen.de>2025-02-19 12:59:43 +0100
commit5776b567a2aa78902bf5e4b40cf0bbb69bdbde9a (patch)
tree104ae1a696209c7281927dc2e09589e547b5c210 /src/compiler/GF/Command/Commands.hs
parent643617ccc4faafa659aa16fae2870ac68a8f394b (diff)
Reactivate the gf-shell command 'pt -transfer'
Diffstat (limited to 'src/compiler/GF/Command/Commands.hs')
-rw-r--r--src/compiler/GF/Command/Commands.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs
index f31a23083..7f27e8a45 100644
--- a/src/compiler/GF/Command/Commands.hs
+++ b/src/compiler/GF/Command/Commands.hs
@@ -428,7 +428,8 @@ pgfCommands = Map.fromList [
"are type checking and semantic computation."
],
examples = [
- mkEx "pt -compute (plus one two) -- compute value"
+ mkEx "pt -compute (plus one two) -- compute value",
+ mkEx ("p \"the 4 dogs\" | pt -transfer=digits2numeral | l -- \"the four dogs\" ")
],
exec = getEnv $ \ opts arg (Env pgf mos) ->
returnFromExprs . takeOptNum opts . treeOps pgf opts $ toExprs arg,