Use --diff rather than --patch in log.py
authorCatalin Marinas <catalin.marinas@gmail.com>
Thu, 2 Oct 2008 22:11:12 +0000 (23:11 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 2 Oct 2008 22:11:12 +0000 (23:11 +0100)
In a few places in this file options.diff is used already.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/log.py

index 39cdfe7..3370e6c 100644 (file)
@@ -43,7 +43,7 @@ args = [argparse.patch_range(argparse.applied_patches,
 options = [
     opt('-b', '--branch', args = [argparse.stg_branches],
         short = 'Use BRANCH instead of the default one'),
-    opt('-p', '--patch', action = 'store_true',
+    opt('-d', '--diff', action = 'store_true',
         short = 'Show the refresh diffs'),
     opt('-n', '--number', type = 'int',
         short = 'Limit the output to NUMBER commits'),