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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user