mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 07:57:20 +02:00
Commands - done
- The 'done' command now functional. - Localized CmdDone.cpp.
This commit is contained in:
parent
1b90adc1aa
commit
877ecbc864
6 changed files with 54 additions and 48 deletions
|
@ -360,7 +360,9 @@ void Command::modify_task (Task& task, Arguments& arguments)
|
|||
throw format (STRING_CMD_MOD_UNEXPECTED, arg->first);
|
||||
}
|
||||
|
||||
task.set ("description", description);
|
||||
// Only update description if one was specified.
|
||||
if (description.length ())
|
||||
task.set ("description", description);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue