1
0
forked from GitHub/gf-core

documented the ss command

This commit is contained in:
aarne
2011-09-22 07:40:19 +00:00
parent fa65def172
commit d97101154f
2 changed files with 5 additions and 2 deletions

View File

@@ -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 = [