mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 13:23:08 +02:00
Code Cleanup
- With the separation between standard output and standard error, the solution for bug #956 is obsolete. The mechanism (putting verbose to "nothing") is still kept for easing the management of the standard error.
This commit is contained in:
parent
1e632fea66
commit
c84e3cc893
2 changed files with 4 additions and 9 deletions
|
@ -207,8 +207,7 @@ the priority to H for each of those tasks. This can also be achieved directly:
|
|||
|
||||
task project:Home modify priority:H
|
||||
|
||||
This command is mainly of use to external scripts. As such, only minimal output
|
||||
is generated (equivalent to verbose=nothing).
|
||||
This command is mainly of use to external scripts.
|
||||
|
||||
.TP
|
||||
.B task <filter> uuids
|
||||
|
@ -222,8 +221,7 @@ this:
|
|||
This example first gets the UUIDs for the project:Home and status:completed
|
||||
filter, then makes each of those tasks pending again.
|
||||
|
||||
This command is mainly of use to external scripts. As such, only minimal
|
||||
output is generated (equivalent to verbose=nothing).
|
||||
This command is mainly of use to external scripts.
|
||||
|
||||
.TP
|
||||
.B task udas
|
||||
|
|
|
@ -694,16 +694,13 @@ void Context::updateXtermTitle ()
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// This function allows a clean output if the command is a helper subcommand or
|
||||
// a command aimed at being used by an external script.
|
||||
// This function allows a clean output if the command is a helper subcommand.
|
||||
void Context::updateVerbosity ()
|
||||
{
|
||||
std::string command;
|
||||
a3.find_command (command);
|
||||
|
||||
if (command[0] == '_' ||
|
||||
command == "ids" ||
|
||||
command == "uuids")
|
||||
if (command[0] == '_')
|
||||
{
|
||||
verbosity.clear ();
|
||||
verbosity.push_back ("nothing");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue