Enhancements

- Fixed word wrapping problem on "help" page.
- Writes errors to std::cout because std::cerr confuses tests.
  Presumably no users will care.  I don't.
- Added listDiff template function.
This commit is contained in:
Paul Beckingham 2009-05-07 00:30:20 -04:00
parent fea19e036a
commit 72ff15ea7a
2 changed files with 51 additions and 4 deletions

View file

@ -226,9 +226,9 @@ static std::string longUsage (Config& conf)
{
std::stringstream out;
out << shortUsage (conf)
<< "ID is the numeric identifier displayed by the 'task list' command." << "\n"
<< "You can specify multiple IDs for task commands, and multiple tasks" << "\n"
<< "will be affected. To specify multiple IDs make sure you use one" << "\n"
<< "ID is the numeric identifier displayed by the 'task list' command. "
<< "You can specify multiple IDs for task commands, and multiple tasks "
<< "will be affected. To specify multiple IDs make sure you use one "
<< "of these forms:" << "\n"
<< " task delete 1,2,3" << "\n"
<< " task info 1-3" << "\n"
@ -341,7 +341,7 @@ int main (int argc, char** argv)
catch (std::string& error)
{
std::cerr << error << std::endl;
std::cout << error << std::endl;
return -1;
}