CmdDiagnostics: Added database location

This commit is contained in:
Paul Beckingham 2016-03-19 09:17:51 -04:00
parent 854213c8b5
commit 979fa70af5

View file

@ -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)