]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Correct some references to '--diff-only', now '--preview'.
authorepriestley <epriestley@javelinjs.com>
Thu, 13 Jan 2011 23:31:37 +0000 (15:31 -0800)
committerepriestley <epriestley@javelinjs.com>
Thu, 13 Jan 2011 23:31:37 +0000 (15:31 -0800)
Summary:

Test Plan:

Reviewers:

CC:

src/workflow/diff/ArcanistDiffWorkflow.php

index 7135c255bd4c7bf72a7f1896de9728288d6ce2d6..8193c6400b6a7f911aa490ff33852f3d772f7576 100644 (file)
@@ -687,7 +687,7 @@ EOTEXT
           "Changes in the specified commit range include more than one ".
           "commit with a valid template commit message. This is ambiguous, ".
           "your commit range should contain only one template commit ".
-          "message. Alternatively, use --diff-only to ignore commit ".
+          "message. Alternatively, use --preview to ignore commit ".
           "messages.");
       }
     }
@@ -699,13 +699,13 @@ EOTEXT
         throw new ArcanistUsageException(
           "All changes between the specified commits have template parsing ".
           "problems:\n\n".$desc."\n\nIf you only want to create a diff ".
-          "(not a revision), use --diff-only to ignore commit messages.");
+          "(not a revision), use --preview to ignore commit messages.");
       } else if (count($problems) == 1) {
         throw new ArcanistUsageException(
           "Commit message is not properly formatted:\n\n".$desc."\n\n".
           "You should use the standard git commit template to provide a ".
           "commit message. If you only want to create a diff (not a ".
-          "revision), use --diff-only to ignore commit messages.");
+          "revision), use --preview to ignore commit messages.");
       }
     }