mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-30 04:23:24 +02:00
Merge branch 'master' into 2.3.0
Conflicts: AUTHORS CMakeLists.txt INSTALL NEWS cmake.h.in doc/man/task-faq.5.in package-config/osx/README scripts/utils/verify_l10n src/API.h src/Config.cpp src/Context.cpp src/DOM.cpp src/Hooks.cpp src/TransportShell.h src/commands/CmdDiagnostics.cpp src/commands/CmdShell.cpp src/commands/CmdVersion.cpp src/en-US.h src/shell/Readline.h src/wcwidth6.cpp test/CMakeLists.txt test/color.uda.t test/duration.t.cpp test/hook.on-launch.t test/template.t test/uuid.t
This commit is contained in:
commit
8af0a7f3ba
548 changed files with 13752 additions and 2435 deletions
|
@ -1,7 +1,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// taskwarrior - a command line task list manager.
|
||||
//
|
||||
// Copyright 2006-2012, Paul Beckingham, Federico Hernandez.
|
||||
// Copyright 2006-2013, Paul Beckingham, Federico Hernandez.
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -79,7 +79,7 @@
|
|||
#include <CmdReports.h>
|
||||
#include <CmdShow.h>
|
||||
#include <CmdStart.h>
|
||||
#include <CmdStatistics.h>
|
||||
#include <CmdStats.h>
|
||||
#include <CmdStop.h>
|
||||
#include <CmdSummary.h>
|
||||
#include <CmdSync.h>
|
||||
|
@ -152,8 +152,9 @@ void Command::factory (std::map <std::string, Command*>& all)
|
|||
c = new CmdPush (); all[c->keyword ()] = c;
|
||||
c = new CmdReports (); all[c->keyword ()] = c;
|
||||
c = new CmdShow (); all[c->keyword ()] = c;
|
||||
c = new CmdShowRaw (); all[c->keyword ()] = c;
|
||||
c = new CmdStart (); all[c->keyword ()] = c;
|
||||
c = new CmdStatistics (); all[c->keyword ()] = c;
|
||||
c = new CmdStats (); all[c->keyword ()] = c;
|
||||
c = new CmdStop (); all[c->keyword ()] = c;
|
||||
c = new CmdSummary (); all[c->keyword ()] = c;
|
||||
c = new CmdSync (); all[c->keyword ()] = c;
|
||||
|
@ -421,7 +422,10 @@ void Command::modify_task_description_replace (Task& task, const A3& arguments)
|
|||
modify_task (task, arguments, description);
|
||||
|
||||
if (description.length ())
|
||||
task.set ("description", description);
|
||||
{
|
||||
_needs_confirm = true;
|
||||
task.set ("description", description);
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue