]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Document paths parameter in arc unit
authorJakub Vrana <jakubv@fb.com>
Wed, 30 Nov 2011 20:56:18 +0000 (12:56 -0800)
committerJakub Vrana <jakubv@fb.com>
Wed, 30 Nov 2011 23:23:09 +0000 (15:23 -0800)
Summary:
arc unit supports paths parameter
It is not documented in arc help

Test Plan:
arc help
Search for unit

Reviewers: slawekbiel, aran

Reviewed By: aran

CC: aran, vrana
Differential Revision: 1143

src/workflow/unit/ArcanistUnitWorkflow.php

index 1048890541adff5eb2f32276c61cb6349f0013da..bf976ec5468c4e4c962be125b3b325091c2cf727 100644 (file)
@@ -34,9 +34,10 @@ class ArcanistUnitWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
-      **unit**
+      **unit** [__paths__]
           Supports: git, svn
-          Run unit tests that cover local changes.
+          Run unit tests that cover specified paths. If no paths are specified,
+          unit tests covering all modified files will be run.
 EOTEXT
       );
   }