Custom Reports - usage

- Added defined custom reports to the usage text.  This includes the
  new "report.X.description" configuration variable.
This commit is contained in:
Paul Beckingham
2009-03-10 22:21:23 -04:00
parent 1f45e47e36
commit 2d07b08260
5 changed files with 84 additions and 30 deletions

View File

@@ -164,7 +164,6 @@ void guess (const std::string& type, const char** list, std::string& candidate)
candidate = matches[0];
else if (0 == matches.size ())
// throw std::string ("Unrecognized ") + type + " '" + candidate + "'";
candidate = "";
else
@@ -535,4 +534,10 @@ bool isCustomReport (const std::string& report)
return false;
}
////////////////////////////////////////////////////////////////////////////////
void allCustomReports (std::vector <std::string>& all)
{
all = customReports;
}
////////////////////////////////////////////////////////////////////////////////