mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdDiagnostics: Added database location
This commit is contained in:
parent
854213c8b5
commit
979fa70af5
1 changed files with 4 additions and 0 deletions
|
@ -120,6 +120,10 @@ int CmdDiagnostics (Database& database, Log& log)
|
||||||
<< (env ? env : "-")
|
<< (env ? env : "-")
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
|
out << " Database: "
|
||||||
|
<< database.location ()
|
||||||
|
<< "\n";
|
||||||
|
|
||||||
// Determine rc.editor/$EDITOR/$VISUAL.
|
// Determine rc.editor/$EDITOR/$VISUAL.
|
||||||
char* peditor;
|
char* peditor;
|
||||||
if ((peditor = getenv ("VISUAL")) != NULL)
|
if ((peditor = getenv ("VISUAL")) != NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue