X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/bd427e467ee41df85a761d4d6001b5f3797644cd..6b1e01119114f9ebf4e047485f089b7c58823710:/stgit/commands/diff.py diff --git a/stgit/commands/diff.py b/stgit/commands/diff.py index 9abd438..977f899 100644 --- a/stgit/commands/diff.py +++ b/stgit/commands/diff.py @@ -41,7 +41,7 @@ rev = '([patch][//[bottom | top]]) | | base' If neither bottom nor top are given but a '//' is present, the command shows the specified patch (defaulting to the current one).""" -options = [make_option('-r', metavar = 'rev1[:[rev2]]', dest = 'revs', +options = [make_option('-r', metavar = 'rev1[..[rev2]]', dest = 'revs', help = 'show the diff between revisions'), make_option('-s', '--stat', help = 'show the stat instead of the diff', @@ -52,7 +52,7 @@ def func(parser, options, args): """Show the tree diff """ if options.revs: - rev_list = options.revs.split(':') + rev_list = options.revs.split('..') rev_list_len = len(rev_list) if rev_list_len == 1: rev = rev_list[0]