mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TW01438
- TW-1438 Configuration setting rc.confirmation=no no longer disables confirmation requests (thanks to Adam Coddington).
This commit is contained in:
parent
fd518e3fce
commit
9936157704
11 changed files with 26 additions and 8 deletions
|
@ -90,7 +90,8 @@ int CmdAppend::execute (std::string& output)
|
|||
// Append to siblings.
|
||||
if (task->has ("parent"))
|
||||
{
|
||||
if (confirm (STRING_CMD_APPEND_CONFIRM_R))
|
||||
if (! context.config.getBoolean ("recurrence.confirmation") ||
|
||||
confirm (STRING_CMD_APPEND_CONFIRM_R))
|
||||
{
|
||||
std::vector <Task> siblings = context.tdb2.siblings (*task);
|
||||
std::vector <Task>::iterator sibling;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue