Mercurial > projects > dil
diff trunk/src/lang_en.d @ 375:0bd21b746a04
- Added code to main() for recognizing options to the importgraph command.
- Added HelpImportGraph message.
- Added enum IGraphOption.
- Added class Vertex inheriting from Module. Changed struct Edge to a class.
- Modified a lot of code in cmd.ImportGraph; too many to list here.
- Made some minor changes to dil.Parser.
author | aziz |
---|---|
date | Sat, 08 Sep 2007 16:42:02 +0000 |
parents | 511c14950cac |
children | ad0cbd1c8881 |
line wrap: on
line diff
--- a/trunk/src/lang_en.d Fri Sep 07 11:36:01 2007 +0000 +++ b/trunk/src/lang_en.d Sat Sep 08 16:42:02 2007 +0000 @@ -69,6 +69,7 @@ Type 'dil help <subcommand>' for more help on a particular subcommand. Compiled with {3} v{4} on {5}.`, + `Generate an XML or HTML document from a D source file. Usage: dil gen file.d [Options] @@ -80,4 +81,33 @@ Example: dil gen Parser.d --html --syntax > Parser.html`, + + `Parse a module and extract information from the resulting module dependency graph. +Usage: + dil igraph file.d Format [Options] + + The directory of file.d is implicitly added to the list of import paths. + +Format: + --dot : generate a dot document + -gbp : Group modules by package names + -gbf : Group modules by full package name + -hle : highlight cyclic edges in the graph + -hlv : highlight modules in cyclic relationship + + --paths : print a list of paths to the modules imported by file.d + -lN : print N levels. + + --list : print a list of the module names imported by file.d + -lN : print N levels. + +Options: + -Ipath : add 'path' to the list of import paths where modules are + looked for + -rREGEXP : exclude modules whose names match the regular expression + REGEXP + -i : include unlocatable modules + +Example: + dil igraph src/main.d`, ]; \ No newline at end of file