X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FModuleManager.cc;h=77f190c17eb299c5ec13346a9fd56fb2102a9ceb;hb=d5a72d0b3f6fee56dba6de1c54cafb448ebe3457;hp=9e890b7f12ffea15a196d2195aab3422409f81ea;hpb=b813ffae606ef1b35fbbc53734ece8522cfc9d97;p=senf.git diff --git a/PPI/ModuleManager.cc b/PPI/ModuleManager.cc index 9e890b7..77f190c 100644 --- a/PPI/ModuleManager.cc +++ b/PPI/ModuleManager.cc @@ -80,7 +80,13 @@ prefix_ senf::ppi::ModuleManager::ModuleManager() .add("dump", senf::membind(&ModuleManager::dumpModules, this)) .doc("Dump complete PPI structure\n" "The dump will contain one paragraph for each module. The first line gives module\n" - "information, additional lines list all connectors and their peers (if connected)."); + "information, additional lines list all connectors and their peers (if connected).\n" + "\n" + "This information can be processed by 'PPI/drawmodules.py' and 'dot' (from the\n" + "graphviz package) to generate a graphic representation of the module structure:\n" + "\n" + " $ echo /sys/ppi/dump | nc -q1 \\\n" + " | python PPI/drawmodules.py | dot -Tpng /dev/fd/0 >modules.png\n"); } prefix_ void senf::ppi::ModuleManager::dumpModules(std::ostream & os)