mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Help
- Made all the usage strings for the 'help' command consistent with the implementation and with visual alignment.
This commit is contained in:
parent
87bca169c5
commit
de481a7eba
37 changed files with 58 additions and 66 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue