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:
committed by
Paul Beckingham
parent
1e632fea66
commit
c84e3cc893
@@ -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
|
task project:Home modify priority:H
|
||||||
|
|
||||||
This command is mainly of use to external scripts. As such, only minimal output
|
This command is mainly of use to external scripts.
|
||||||
is generated (equivalent to verbose=nothing).
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B task <filter> uuids
|
.B task <filter> uuids
|
||||||
@@ -222,8 +221,7 @@ this:
|
|||||||
This example first gets the UUIDs for the project:Home and status:completed
|
This example first gets the UUIDs for the project:Home and status:completed
|
||||||
filter, then makes each of those tasks pending again.
|
filter, then makes each of those tasks pending again.
|
||||||
|
|
||||||
This command is mainly of use to external scripts. As such, only minimal
|
This command is mainly of use to external scripts.
|
||||||
output is generated (equivalent to verbose=nothing).
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B task udas
|
.B task udas
|
||||||
|
|||||||
@@ -694,16 +694,13 @@ void Context::updateXtermTitle ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// This function allows a clean output if the command is a helper subcommand or
|
// This function allows a clean output if the command is a helper subcommand.
|
||||||
// a command aimed at being used by an external script.
|
|
||||||
void Context::updateVerbosity ()
|
void Context::updateVerbosity ()
|
||||||
{
|
{
|
||||||
std::string command;
|
std::string command;
|
||||||
a3.find_command (command);
|
a3.find_command (command);
|
||||||
|
|
||||||
if (command[0] == '_' ||
|
if (command[0] == '_')
|
||||||
command == "ids" ||
|
|
||||||
command == "uuids")
|
|
||||||
{
|
{
|
||||||
verbosity.clear ();
|
verbosity.clear ();
|
||||||
verbosity.push_back ("nothing");
|
verbosity.push_back ("nothing");
|
||||||
|
|||||||
Reference in New Issue
Block a user