summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Command/Commands.hs
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2011-09-22 07:40:19 +0000
committeraarne <aarne@chalmers.se>2011-09-22 07:40:19 +0000
commitbaa9bcd9d072277261d0bf85c9623a0db9e8f9d6 (patch)
treedfecc320786f9c0700f85d995ddeec251e406d25 /src/compiler/GF/Command/Commands.hs
parentea04171fc6dfd0c38b69da02b60b0361487d7e5c (diff)
documented the ss command
Diffstat (limited to 'src/compiler/GF/Command/Commands.hs')
-rw-r--r--src/compiler/GF/Command/Commands.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs
index a743ee1f0..f3c2790fd 100644
--- a/src/compiler/GF/Command/Commands.hs
+++ b/src/compiler/GF/Command/Commands.hs
@@ -859,10 +859,13 @@ allCommands env@(pgf, mos) = Map.fromList [
"Show compiled source code, i.e. as it is included in GF object files.",
"This command requires a source grammar to be in scope, imported with 'import -retain'.",
"The optional MODULE arguments cause just these modules to be shown.",
+ "The -size and -detailedsize options show code size as the number of constructor nodes.",
"This command must be a line of its own, and thus cannot be a part of a pipe."
],
options = [
+ ("detailedsize", "instead of code, show the sizes of all judgements and modules"),
("save", "save each MODULE in file MODULE.gfh instead of printing it on terminal"),
+ ("size", "instead of code, show the sizes of all modules"),
("strip","show only type signatures of oper's and lin's, not their definitions")
],
examples = [