Commit 558bb0cf authored by Bram Schoenmakers's avatar Bram Schoenmakers

Show all todo items when printing in Dot format

By doing so, the parent items, which are hidden by default, are shown in
the dependency graph. Otherwise it would only print child items which is
not so useful.
parent 79ae028b
......@@ -62,6 +62,10 @@ class ListCommand(ExpressionCommand):
if self._poke_icalendar():
from topydo.lib.IcalPrinter import IcalPrinter
self.printer = IcalPrinter(self.todolist)
# a graph without dependencies is not so useful, hence
# show all
self.show_all = True
elif value == 'dot':
from topydo.lib.DotPrinter import DotPrinter
self.printer = DotPrinter(self.todolist)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment