From 294aaa0dd7e6d7f5065433efbb3f31cefa8e9acd Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Fri, 7 Aug 2020 15:01:45 +0200 Subject: [PATCH] help rdiff: -p shows diff of files in archives This was undocumented. Also remove the part that incorrectly says this is the default. --- osc/commandline.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index fe8f7e66..3c270e49 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -3986,7 +3986,8 @@ Please submit there instead, or use --nodevelproject to force direct submission. @cmdln.option('-r', '--revision', metavar='N[:M]', help='revision id, where N = old revision and M = new revision') @cmdln.option('-p', '--plain', action='store_true', - help='output the diff in plain (not unified) diff format') + help='output the diff in plain (not unified) diff format' + ' and show diff of files in archives') @cmdln.option('-c', '--change', metavar='rev', help='the change made by revision rev (like -r rev-1:rev). ' 'If rev is negative this is like -r rev:rev-1.') @@ -4004,11 +4005,6 @@ Please submit there instead, or use --nodevelproject to force direct submission. If no revision is specified the latest revision is used. - Note that this command doesn't return a normal diff (which could be - applied as patch), but a "pretty" diff, which also compares the content - of tarballs. - - usage: osc ${cmd_name} OLDPRJ OLDPAC NEWPRJ [NEWPAC] osc ${cmd_name} PROJECT PACKAGE