mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-128
- TW-128 new helper command; _envs. Actually no, not a new command, but the $TASKRC and $TASKDATA environment variables are now show in the 'diag' command output.
This commit is contained in:
parent
5413d3172b
commit
d6e734b57d
2 changed files with 13 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
- TW-44 Space handling in dateformat (thanks to Louis-Claude Canon).
|
||||
- TW-72 extend info report with urgency column
|
||||
- TW-115 allow "0day" durations for UDAs.
|
||||
- TW-128 new helper command; _envs.
|
||||
- TW-168 modification of due date relative to current due date (thanks to Dirk
|
||||
Sarpe).
|
||||
- TW-186 Increase for numerical UDAs (thanks to Steffen Uhlig).
|
||||
|
|
|
@ -210,6 +210,18 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
<< location.mode ()
|
||||
<< "\n";
|
||||
|
||||
char* env = getenv ("TASKRC");
|
||||
if (env)
|
||||
out << " TASKRC: "
|
||||
<< env
|
||||
<< "\n";
|
||||
|
||||
env = getenv ("TASKDATA");
|
||||
if (env)
|
||||
out << " TASKDATA: "
|
||||
<< env
|
||||
<< "\n";
|
||||
|
||||
out << " Locking: "
|
||||
<< (context.config.getBoolean ("locking")
|
||||
? STRING_CMD_DIAG_ENABLED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue