#1137. Updated manpage to document -m- and -pV and Added regression detector for both new options to test suite.

v0.27.3
Robin Mills 10 years ago
parent cc5f0f434e
commit ada018f3b8

@ -3,7 +3,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH EXIV2 1 "Nov 12, 2015" .TH EXIV2 1 "Nov 23, 2015"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -345,6 +345,8 @@ s : size in bytes
.br .br
v : plain data value v : plain data value
.br .br
V : plain data value AND the word 'set ' at the start of line (for use with exiv2 -m-)
.br
t : interpreted (translated) data t : interpreted (translated) data
.br .br
h : hexdump of the data h : hexdump of the data
@ -413,7 +415,7 @@ Default filename format is %Y%m%d_%H%M%S.
.B \-c \fItxt\fP .B \-c \fItxt\fP
JPEG comment string to set in the image ('modify' action). This option JPEG comment string to set in the image ('modify' action). This option
can also be used with the 'extract' and 'insert' actions to modify can also be used with the 'extract' and 'insert' actions to modify
metadata on-the-fly. metadata on-the-fly. -m- represents standard-input.
.TP .TP
.B \-m \fIfile\fP .B \-m \fIfile\fP
Command file for the 'modify' action. This option can also be used Command file for the 'modify' action. This option can also be used

@ -430,6 +430,15 @@ source ./functions.source
copyTestFile $filename copyTestFile $filename
runTest exiv2 -pv -g Lens $filename runTest exiv2 -pv -g Lens $filename
runTest exiv2 -pa -g Lens $filename runTest exiv2 -pa -g Lens $filename
num=1137
filename=exiv2-bug$num.jpg
copyTestFile $filename
exiv2 -PkV --grep GPSL http://dev.exiv2.org/attachments/download/805/DSC_7154.jpg
exiv2 -pa $filename
exiv2 -PkV --grep GPSL http://dev.exiv2.org/attachments/download/805/DSC_7154.jpg | exiv2 -m- $filename
exiv2 -pa $filename
) 3>&1 > $results 2>&1 ) 3>&1 > $results 2>&1

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Loading…
Cancel
Save