1
0
forked from GitHub/gf-core

the sd -size command now shows the size of all code needed for defining an oper

This commit is contained in:
aarne
2011-09-22 12:11:03 +00:00
parent d97101154f
commit ac51d644fc
3 changed files with 30 additions and 13 deletions

View File

@@ -791,9 +791,11 @@ allCommands env@(pgf, mos) = Map.fromList [
"This command must be a line of its own, and thus cannot be a part of a pipe."
],
options = [
("size","show the size of the source code for each constants (number of constructors)")
],
examples = [
"sd ParadigmsEng.mkV -- show all constants on which this one depends"
"sd ParadigmsEng.mkV -- show all constants on which this one depends",
"sd -size ParadigmsEng.mkV -- show all constants on which this one depends, together with size"
],
needsTypeCheck = False
}),