mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Code Cleanup
- Eliminated obsolete Arguments.h, Arguments.cpp.
This commit is contained in:
parent
ab8a6d9e88
commit
0c08b29e48
24 changed files with 74 additions and 1976 deletions
|
@ -998,10 +998,10 @@ int CmdBurndownMonthly::execute (std::string& output)
|
|||
Chart chart ('M');
|
||||
|
||||
// Use any filter as a title.
|
||||
if (context.args.size () > 2)
|
||||
if (context.a3.size () > 2)
|
||||
{
|
||||
std::string combined = "("
|
||||
+ context.args.extract_read_only_filter ().combine ()
|
||||
+ context.a3.extract_filter ().combine ()
|
||||
+ ")";
|
||||
chart.description (combined);
|
||||
}
|
||||
|
@ -1042,10 +1042,10 @@ int CmdBurndownWeekly::execute (std::string& output)
|
|||
Chart chart ('W');
|
||||
|
||||
// Use any filter as a title.
|
||||
if (context.args.size () > 2)
|
||||
if (context.a3.size () > 2)
|
||||
{
|
||||
std::string combined = "("
|
||||
+ context.args.extract_read_only_filter ().combine ()
|
||||
+ context.a3.extract_filter ().combine ()
|
||||
+ ")";
|
||||
chart.description (combined);
|
||||
}
|
||||
|
@ -1086,10 +1086,10 @@ int CmdBurndownDaily::execute (std::string& output)
|
|||
Chart chart ('D');
|
||||
|
||||
// Use any filter as a title.
|
||||
if (context.args.size () > 2)
|
||||
if (context.a3.size () > 2)
|
||||
{
|
||||
std::string combined = "("
|
||||
+ context.args.extract_read_only_filter ().combine ()
|
||||
+ context.a3.extract_filter ().combine ()
|
||||
+ ")";
|
||||
chart.description (combined);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue