Commit 9483ed9c authored by Bram Schoenmakers's avatar Bram Schoenmakers

Using -i implies -x

When a user requests a specific todo ID, always show it, even when the
todo item is not relevant.
parent 6fa8d09c
...@@ -79,6 +79,9 @@ class ListCommand(ExpressionCommand): ...@@ -79,6 +79,9 @@ class ListCommand(ExpressionCommand):
elif opt == '-i': elif opt == '-i':
self.ids = value.split(',') self.ids = value.split(',')
# when a user requests a specific ID, it should always be shown
self.show_all = True
self.args = args self.args = args
def _filters(self): def _filters(self):
......
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