From: Catalin Marinas Date: Thu, 2 Oct 2008 22:11:12 +0000 (+0100) Subject: Use --diff rather than --patch in log.py X-Git-Tag: v0.15-rc1~122 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/3730c5247dcacb4e8bdc229e71c3dc5f10034a82?hp=588a7414ee52328525dfcb514e580da877e4ff3c Use --diff rather than --patch in log.py In a few places in this file options.diff is used already. Signed-off-by: Catalin Marinas --- diff --git a/stgit/commands/log.py b/stgit/commands/log.py index 39cdfe7..3370e6c 100644 --- a/stgit/commands/log.py +++ b/stgit/commands/log.py @@ -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'),