mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-10 04:00:37 +02:00
Code: Improved comments regarding filters/args.
This commit is contained in:
parent
f0fbdaf2c9
commit
2f1ca72334
4 changed files with 10 additions and 3 deletions
|
@ -334,6 +334,9 @@ int CmdCalendar::execute (std::string& output)
|
|||
if (context.commands.find (report) == context.commands.end ())
|
||||
throw std::string (STRING_ERROR_DETAILS);
|
||||
|
||||
// TODO Fix this: cal --> task
|
||||
// calendar --> taskendar
|
||||
|
||||
// If the executable was "cal" or equivalent, replace it with "task".
|
||||
std::string executable = context.cli._args[0].attribute ("raw");
|
||||
auto cal = executable.find ("cal");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue