Page MenuHomePhabricator

D14953.id36130.diff
No OneTemporary

D14953.id36130.diff

diff --git a/src/applications/maniphest/command/ManiphestClaimEmailCommand.php b/src/applications/maniphest/command/ManiphestClaimEmailCommand.php
--- a/src/applications/maniphest/command/ManiphestClaimEmailCommand.php
+++ b/src/applications/maniphest/command/ManiphestClaimEmailCommand.php
@@ -8,7 +8,10 @@
}
public function getCommandSummary() {
- return pht('Assign yourself as the owner of a task.');
+ return pht(
+ 'Assign yourself as the owner of a task. To assign another user, '.
+ 'see `%s`.',
+ '!assign');
}
public function buildTransactions(
diff --git a/src/applications/maniphest/command/ManiphestCloseEmailCommand.php b/src/applications/maniphest/command/ManiphestCloseEmailCommand.php
--- a/src/applications/maniphest/command/ManiphestCloseEmailCommand.php
+++ b/src/applications/maniphest/command/ManiphestCloseEmailCommand.php
@@ -8,7 +8,11 @@
}
public function getCommandSummary() {
- return pht('Close a task.');
+ return pht(
+ 'Close a task. This changes the task status to the default closed '.
+ 'status. For a more powerful (but less concise) way to change task '.
+ 'statuses, see `%s`.',
+ '!status');
}
public function buildTransactions(
diff --git a/src/applications/maniphest/command/ManiphestStatusEmailCommand.php b/src/applications/maniphest/command/ManiphestStatusEmailCommand.php
--- a/src/applications/maniphest/command/ManiphestStatusEmailCommand.php
+++ b/src/applications/maniphest/command/ManiphestStatusEmailCommand.php
@@ -36,9 +36,11 @@
"To change the status of a task, specify the desired status, like ".
"`%s`. This table shows the configured names for statuses.\n\n%s\n\n".
"If you specify an invalid status, the command is ignored. This ".
- "command has no effect if you do not specify a status.",
+ "command has no effect if you do not specify a status.\n\n".
+ "To quickly close a task, see `%s`.",
'!status invalid',
- $table);
+ $table,
+ '!close');
}
public function buildTransactions(

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 16, 1:55 AM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223464
Default Alt Text
D14953.id36130.diff (2 KB)

Event Timeline