Diagnostics

- Added GC setting to the diagnostics output.
This commit is contained in:
Paul Beckingham 2013-05-24 16:27:55 -04:00
parent ea6861e7f0
commit a3f158d399

View file

@ -219,6 +219,12 @@ int CmdDiagnostics::execute (std::string& output)
: STRING_CMD_DIAG_DISABLED) : STRING_CMD_DIAG_DISABLED)
<< "\n"; << "\n";
out << " GC: "
<< (context.config.getBoolean ("gc")
? STRING_CMD_DIAG_ENABLED
: STRING_CMD_DIAG_DISABLED)
<< "\n";
// Determine rc.editor/$EDITOR/$VISUAL. // Determine rc.editor/$EDITOR/$VISUAL.
char* peditor; char* peditor;
if (context.config.get ("editor") != "") if (context.config.get ("editor") != "")