From 2c4b453757e8cb4213af2cc1bfb08b8c06a6354a Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 13 Jan 2011 15:31:37 -0800 Subject: [PATCH] Correct some references to '--diff-only', now '--preview'. Summary: Test Plan: Reviewers: CC: --- src/workflow/diff/ArcanistDiffWorkflow.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/workflow/diff/ArcanistDiffWorkflow.php b/src/workflow/diff/ArcanistDiffWorkflow.php index 7135c255..8193c640 100644 --- a/src/workflow/diff/ArcanistDiffWorkflow.php +++ b/src/workflow/diff/ArcanistDiffWorkflow.php @@ -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."); } }