Diagnostics

- Added configuration settings for 'regex' and 'locking', which might
  be useful.
This commit is contained in:
Paul Beckingham 2010-11-26 17:38:52 -05:00
parent fe65d28f99
commit 7a95c38290

View file

@ -193,6 +193,14 @@ void handleDiagnostics (std::string& outs)
<< ", mode "
<< std::setbase (8)
<< location.mode ()
<< "\n";
std::cout << " Locking: "
<< (context.config.getBoolean ("locking") ? "Enabled" : "Disabled")
<< "\n";
std::cout << " Regex: "
<< (context.config.getBoolean ("regex") ? "Enabled" : "Disabled")
<< "\n\n";
// External commands.