Mercurial > projects > dil
comparison trunk/src/main.d @ 792:05dfe88dd3bb
Added new module TypeRules.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Wed, 27 Feb 2008 02:12:59 +0100 |
parents | edd217e14736 |
children | a7320b7cb7dc |
comparison
equal
deleted
inserted
replaced
791:5fe89bb8cbdd | 792:05dfe88dd3bb |
---|---|
29 import cmd.ImportGraph; | 29 import cmd.ImportGraph; |
30 import cmd.DDoc; | 30 import cmd.DDoc; |
31 | 31 |
32 import Settings; | 32 import Settings; |
33 import SettingsLoader; | 33 import SettingsLoader; |
34 // import TypeRules; | |
34 import common; | 35 import common; |
35 | 36 |
36 import Integer = tango.text.convert.Integer; | 37 import Integer = tango.text.convert.Integer; |
37 import tango.stdc.stdio; | 38 import tango.stdc.stdio; |
38 import tango.io.File; | 39 import tango.io.File; |
466 dil igraph file.d Format [Options] | 467 dil igraph file.d Format [Options] |
467 | 468 |
468 The directory of file.d is implicitly added to the list of import paths. | 469 The directory of file.d is implicitly added to the list of import paths. |
469 | 470 |
470 Format: | 471 Format: |
471 --dot : generate a dot document | 472 --dot : generate a dot document (default) |
472 Options related to --dot: | 473 Options related to --dot: |
473 -gbp : Group modules by package names | 474 -gbp : Group modules by package names |
474 -gbf : Group modules by full package name | 475 -gbf : Group modules by full package name |
475 -hle : highlight cyclic edges in the graph | 476 -hle : highlight cyclic edges in the graph |
476 -hlv : highlight modules in cyclic relationships | 477 -hlv : highlight modules in cyclic relationships |
491 -rREGEXP : exclude modules whose names match the regular expression | 492 -rREGEXP : exclude modules whose names match the regular expression |
492 REGEXP | 493 REGEXP |
493 -i : include unlocatable modules | 494 -i : include unlocatable modules |
494 | 495 |
495 Example: | 496 Example: |
496 dil igraph src/main.d`; | 497 dil igraph src/main.d --list |
498 dil igraph src/main.d | dot -Tpng > main.png`; | |
497 break; | 499 break; |
498 case "tok", "tokenize": | 500 case "tok", "tokenize": |
499 msg = `Print the tokens of a D source file. | 501 msg = `Print the tokens of a D source file. |
500 Usage: | 502 Usage: |
501 dil tok file.d [Options] | 503 dil tok file.d [Options] |