mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Documentation
- Shrank the width of the 'help' command output somewhat. It was a width hog.
This commit is contained in:
parent
8ba2dc1fa1
commit
562dfe7b81
12 changed files with 20 additions and 20 deletions
|
@ -40,7 +40,7 @@ extern Context context;
|
|||
CmdAdd::CmdAdd ()
|
||||
{
|
||||
_keyword = "add";
|
||||
_usage = "task add <modifications>";
|
||||
_usage = "task add <mods>";
|
||||
_description = STRING_CMD_ADD_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
|
|
|
@ -41,7 +41,7 @@ extern Context context;
|
|||
CmdAnnotate::CmdAnnotate ()
|
||||
{
|
||||
_keyword = "annotate";
|
||||
_usage = "task <filter> annotate <modifications>";
|
||||
_usage = "task <filter> annotate <mods>";
|
||||
_description = STRING_CMD_ANNO_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
|
|
|
@ -41,7 +41,7 @@ extern Context context;
|
|||
CmdAppend::CmdAppend ()
|
||||
{
|
||||
_keyword = "append";
|
||||
_usage = "task <filter> append <modifications>";
|
||||
_usage = "task <filter> append <mods>";
|
||||
_description = STRING_CMD_APPEND_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
|
|
|
@ -42,7 +42,7 @@ extern Context context;
|
|||
CmdDelete::CmdDelete ()
|
||||
{
|
||||
_keyword = "delete";
|
||||
_usage = "task <filter> delete [<modifications>]";
|
||||
_usage = "task <filter> delete <mods>";
|
||||
_description = STRING_CMD_DELETE_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
|
|
|
@ -41,7 +41,7 @@ extern Context context;
|
|||
CmdDone::CmdDone ()
|
||||
{
|
||||
_keyword = "done";
|
||||
_usage = "task <filter> done [<modifications>]";
|
||||
_usage = "task <filter> done <mods>";
|
||||
_description = STRING_CMD_DONE_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
|
|
|
@ -41,7 +41,7 @@ extern Context context;
|
|||
CmdDuplicate::CmdDuplicate ()
|
||||
{
|
||||
_keyword = "duplicate";
|
||||
_usage = "task <filter> duplicate [<modifications>]";
|
||||
_usage = "task <filter> duplicate <mods>";
|
||||
_description = STRING_CMD_DUPLICATE_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
|
|
|
@ -40,7 +40,7 @@ extern Context context;
|
|||
CmdLog::CmdLog ()
|
||||
{
|
||||
_keyword = "log";
|
||||
_usage = "task log <modifications>";
|
||||
_usage = "task log <mods>";
|
||||
_description = STRING_CMD_LOG_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
|
|
|
@ -42,7 +42,7 @@ extern Context context;
|
|||
CmdModify::CmdModify ()
|
||||
{
|
||||
_keyword = "modify";
|
||||
_usage = "task <filter> modify <modifications>";
|
||||
_usage = "task <filter> modify <mods>";
|
||||
_description = std::string (STRING_CMD_MODIFY_USAGE1) +
|
||||
"\n" +
|
||||
STRING_CMD_MODIFY_USAGE2;
|
||||
|
|
|
@ -41,7 +41,7 @@ extern Context context;
|
|||
CmdPrepend::CmdPrepend ()
|
||||
{
|
||||
_keyword = "prepend";
|
||||
_usage = "task <filter> prepend <modifications>";
|
||||
_usage = "task <filter> prepend <mods>";
|
||||
_description = STRING_CMD_PREPEND_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
|
|
|
@ -41,7 +41,7 @@ extern Context context;
|
|||
CmdStart::CmdStart ()
|
||||
{
|
||||
_keyword = "start";
|
||||
_usage = "task <filter> start [<modifications>]";
|
||||
_usage = "task <filter> start <mods>";
|
||||
_description = STRING_CMD_START_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
|
|
|
@ -41,7 +41,7 @@ extern Context context;
|
|||
CmdStop::CmdStop ()
|
||||
{
|
||||
_keyword = "stop";
|
||||
_usage = "task <filter> stop [<modifications>]";
|
||||
_usage = "task <filter> stop <mods>";
|
||||
_description = STRING_CMD_STOP_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
|
|
18
src/en-US.h
18
src/en-US.h
|
@ -605,19 +605,19 @@
|
|||
"http://taskwarrior.org\n" \
|
||||
"\n" \
|
||||
"The general form of commands is:\n" \
|
||||
" task <filter> <command> <modifications>\n" \
|
||||
" task <filter> <command> <mods>\n" \
|
||||
"\n" \
|
||||
"The <filter> consists of zero or more restrictions on which tasks to select, " \
|
||||
"such as:\n" \
|
||||
" task <command> <modifications>\n" \
|
||||
" task 28 <command> <modifications>\n" \
|
||||
" task +weekend <command> <modifications>\n" \
|
||||
" task project:Home due.before:today <command> <modifications>\n" \
|
||||
" task ebeeab00-ccf8-464b-8b58-f7f2d606edfb <command> <modifications>\n" \
|
||||
" task <command> <mods>\n" \
|
||||
" task 28 <command> <mods>\n" \
|
||||
" task +weekend <command> <mods>\n" \
|
||||
" task project:Home due.before:today <command> <mods>\n" \
|
||||
" task ebeeab00-ccf8-464b-8b58-f7f2d606edfb <command> <mods>\n" \
|
||||
"\n" \
|
||||
"By default, filter elements are combined with an implicit 'and' operator, but " \
|
||||
"'or' and 'xor' may also be used, provided parentheses are included:\n" \
|
||||
" task '(/[Cc]at|[Dd]og/ or /[0-9]+/)' <command> <modifications>\n" \
|
||||
" task '(/[Cc]at|[Dd]og/ or /[0-9]+/)' <command> <mods>\n" \
|
||||
"\n" \
|
||||
"A filter may target specific tasks using ID or UUID numbers. To specify " \
|
||||
"multiple tasks use one of these forms:\n" \
|
||||
|
@ -626,8 +626,8 @@
|
|||
" task 1,2-5,19 modify pri:H\n" \
|
||||
" task 4-7 ebeeab00-ccf8-464b-8b58-f7f2d606edfb info\n" \
|
||||
"\n" \
|
||||
"The <modifications> consist of zero or more changes to apply to the selected " \
|
||||
"tasks, such as:\n" \
|
||||
"The <mods> consist of zero or more changes to apply to the selected tasks, " \
|
||||
"such as:\n" \
|
||||
" task <filter> <command> project:Home\n" \
|
||||
" task <filter> <command> +weekend +garden due:tomorrow\n" \
|
||||
" task <filter> <command> Description/annotation text\n" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue