1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-25 19:52:12 +01:00

help rdiff: -p shows diff of files in archives

This was undocumented.

Also remove the part that incorrectly says this is the default.
This commit is contained in:
Jan Zerebecki 2020-08-07 15:01:45 +02:00
parent 568cb38e3d
commit 294aaa0dd7
No known key found for this signature in database
GPG Key ID: 94D2D0D2432ED7CC

View File

@ -3986,7 +3986,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
@cmdln.option('-r', '--revision', metavar='N[:M]', @cmdln.option('-r', '--revision', metavar='N[:M]',
help='revision id, where N = old revision and M = new revision') help='revision id, where N = old revision and M = new revision')
@cmdln.option('-p', '--plain', action='store_true', @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', @cmdln.option('-c', '--change', metavar='rev',
help='the change made by revision rev (like -r rev-1:rev). ' help='the change made by revision rev (like -r rev-1:rev). '
'If rev is negative this is like -r rev:rev-1.') '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. 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: usage:
osc ${cmd_name} OLDPRJ OLDPAC NEWPRJ [NEWPAC] osc ${cmd_name} OLDPRJ OLDPAC NEWPRJ [NEWPAC]
osc ${cmd_name} PROJECT PACKAGE osc ${cmd_name} PROJECT PACKAGE