mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
CmdInfo
- Converted from A3 to Filter.
This commit is contained in:
parent
410f4a3983
commit
614331aa23
1 changed files with 3 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <Context.h>
|
#include <Context.h>
|
||||||
|
#include <Filter.h>
|
||||||
#include <Date.h>
|
#include <Date.h>
|
||||||
#include <OldDuration.h>
|
#include <OldDuration.h>
|
||||||
#include <ViewText.h>
|
#include <ViewText.h>
|
||||||
|
@ -59,8 +60,9 @@ int CmdInfo::execute (std::string& output)
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
|
|
||||||
// Apply filter.
|
// Apply filter.
|
||||||
|
Filter filter;
|
||||||
std::vector <Task> filtered;
|
std::vector <Task> filtered;
|
||||||
filter (filtered);
|
filter.subset (filtered);
|
||||||
|
|
||||||
if (! filtered.size ())
|
if (! filtered.size ())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue