- Made all the usage strings for the 'help' command consistent with the
  implementation and with visual alignment.
This commit is contained in:
Paul Beckingham 2011-10-01 00:42:27 -04:00
parent 87bca169c5
commit de481a7eba
37 changed files with 58 additions and 66 deletions

View file

@ -37,7 +37,7 @@ extern Context context;
CmdHelp::CmdHelp ()
{
_keyword = "help";
_usage = "task help";
_usage = "task help";
_description = "Displays this usage help text";
_read_only = true;
_displays_id = false;
@ -104,19 +104,6 @@ int CmdHelp::execute (std::string& output)
view.set (row, 2, "Aliased to '" + alias->second + "'");
}
/*
row = view.addRow ();
view.set (row, 1, "task ID /from/to/g");
view.set (row, 2, "Performs substitution on the task description and "
"annotations. The 'g' is optional, and causes "
"substitutions for all matching text, not just the "
"first occurrence.");
row = view.addRow ();
view.set (row, 1, "task ID");
view.set (row, 2, "Specifying an ID without a command invokes the 'info' command.");
*/
output = "\n"
+ view.render ()
+ "\n"