mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +02:00
Enhancement - #326
- Added feature #326, allowing tasks to be added in the completed state, by using the 'log' command in place of 'add' (thanks to Cory Donnelly). - Added log command to task.1 man page. - Added log command to task-tutorial.5 man page. - Added log command to help text. - Added log command unit tests.
This commit is contained in:
parent
336a4dea01
commit
fcbc8a2ee2
12 changed files with 143 additions and 2 deletions
|
@ -127,6 +127,7 @@ void Cmd::load ()
|
|||
commands.push_back (context.stringtable.get (CMD_GHISTORY, "ghistory"));
|
||||
commands.push_back (context.stringtable.get (CMD_IMPORT, "import"));
|
||||
commands.push_back (context.stringtable.get (CMD_INFO, "info"));
|
||||
commands.push_back (context.stringtable.get (CMD_LOG, "log"));
|
||||
commands.push_back (context.stringtable.get (CMD_PREPEND, "prepend"));
|
||||
commands.push_back (context.stringtable.get (CMD_PROJECTS, "projects"));
|
||||
#ifdef FEATURE_SHELL
|
||||
|
@ -228,6 +229,7 @@ bool Cmd::isWriteCommand ()
|
|||
command == context.stringtable.get (CMD_DUPLICATE, "duplicate") ||
|
||||
command == context.stringtable.get (CMD_EDIT, "edit") ||
|
||||
command == context.stringtable.get (CMD_IMPORT, "import") ||
|
||||
command == context.stringtable.get (CMD_LOG, "log") ||
|
||||
command == context.stringtable.get (CMD_PREPEND, "prepend") ||
|
||||
command == context.stringtable.get (CMD_START, "start") ||
|
||||
command == context.stringtable.get (CMD_STOP, "stop") ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue