Issue #700: Escape dashes used as option specifiers in the manual page to make copy and paste work. Based on patch by Mark Purcell.

v0.27.3
nkbj 12 years ago
parent 9800e7b378
commit 06855a44f0

@ -126,8 +126,8 @@ Display help and exit.
.B \-V .B \-V
Show the program version and exit. Show the program version and exit.
.br .br
When -V is combined with -v (Verbose version), build information is When \fB\-V\fP is combined with \fB\-v\fP (Verbose version), build information
printed to standard output along with a list of shared libraries which is printed to standard output along with a list of shared libraries which
have been loaded into memory. Verbose version is supported on Windows have been loaded into memory. Verbose version is supported on Windows
(both MSVC and Cygwin builds), MacOSX and Linux and is provided (both MSVC and Cygwin builds), MacOSX and Linux and is provided
for test and debugging. for test and debugging.
@ -204,17 +204,17 @@ Print mode for the 'print' action. Possible modes are:
.br .br
s : print a summary of the Exif metadata (the default) s : print a summary of the Exif metadata (the default)
.br .br
a : print Exif, IPTC and XMP metadata (shortcut for -Pkyct) a : print Exif, IPTC and XMP metadata (shortcut for \-Pkyct)
.br .br
t : interpreted (translated) Exif tags (-PEkyct) t : interpreted (translated) Exif tags (\-PEkyct)
.br .br
v : plain Exif tag values (-PExgnycv) v : plain Exif tag values (\-PExgnycv)
.br .br
h : hexdump of the Exif data (-PExgnycsh) h : hexdump of the Exif data (\-PExgnycsh)
.br .br
i : IPTC datasets (-PIkyct) i : IPTC datasets (\-PIkyct)
.br .br
x : XMP properties (-PXkyct) x : XMP properties (\-PXkyct)
.br .br
c : JPEG comment c : JPEG comment
.br .br
@ -289,7 +289,7 @@ images and a modifier to generate an XMP sidecar file:
p[<n>[,<m> ...]] : Extract preview images. The optional comma separated p[<n>[,<m> ...]] : Extract preview images. The optional comma separated
list of preview image numbers is used to determine which preview images list of preview image numbers is used to determine which preview images
to extract. The available preview images and their numbers are displayed to extract. The available preview images and their numbers are displayed
with the 'print' option -pp. with the 'print' option \fB\-pp\fP.
.br .br
X : Extract metadata to an XMP sidecar file <file>.xmp. The remaining X : Extract metadata to an XMP sidecar file <file>.xmp. The remaining
extract targets determine what metadata to extract to the sidecar extract targets determine what metadata to extract to the sidecar
@ -298,11 +298,11 @@ file. Possible are Exif, IPTC and XMP and the default is all of these.
.TP .TP
.B \-g \fImatch\fP .B \-g \fImatch\fP
Report only keys which match. This is sub-string match and not grep, although Report only keys which match. This is sub-string match and not grep, although
the -g option is intended to help you remember this as grep. The match is case-sensitive. the \fB\-g\fP option is intended to help you remember this as grep. The match is case-sensitive.
.br .br
.sp 1 .sp 1
.nf .nf
exiv2 -g Date -pt R.jpg exiv2 \-g Date \-pt R.jpg
Exif.Image.DateTime Ascii 20 2012:08:07 16:01:05 Exif.Image.DateTime Ascii 20 2012:08:07 16:01:05
Exif.Photo.DateTimeOriginal Ascii 20 2011:09:18 16:25:48 Exif.Photo.DateTimeOriginal Ascii 20 2011:09:18 16:25:48
Exif.Photo.DateTimeDigitized Ascii 20 2011:09:18 16:25:48 Exif.Photo.DateTimeDigitized Ascii 20 2011:09:18 16:25:48
@ -365,7 +365,7 @@ undefined tags, or incomplete metadata. While
.B exiv2 .B exiv2
is able to read is able to read
all metadata that it can write, other programs may have difficulties all metadata that it can write, other programs may have difficulties
with images that contain non standard\-conforming metadata. with images that contain non standard-conforming metadata.
.SS Command format .SS Command format
The format of a command is The format of a command is
.sp 1 .sp 1
@ -444,13 +444,13 @@ ignored (comments). Remaining lines are commands as described above.
exiv2 *.jpg exiv2 *.jpg
Prints a summary of the Exif information for all JPEG files in the directory. Prints a summary of the Exif information for all JPEG files in the directory.
.TP .TP
exiv2 -pi image.jpg exiv2 \-pi image.jpg
Prints the IPTC metadata of the image. Prints the IPTC metadata of the image.
.TP .TP
exiv2 rename img_1234.jpg exiv2 rename img_1234.jpg
Renames img_1234.jpg (taken on 13\-Nov\-05 at 22:58:31) to 20051113_225831.jpg Renames img_1234.jpg (taken on 13\-Nov\-05 at 22:58:31) to 20051113_225831.jpg
.TP .TP
exiv2 -r':basename:_%Y%m' rename img_1234.jpg exiv2 \-r':basename:_%Y%m' rename img_1234.jpg
Renames img_1234.jpg to img_1234_200511.jpg Renames img_1234.jpg to img_1234_200511.jpg
.TP .TP
exiv2 \-et img1.jpg img2.jpg exiv2 \-et img1.jpg img2.jpg
@ -492,7 +492,7 @@ and GPSLatitudeRef contains either 'N' or 'S' for north or south
latitude respectively. latitude respectively.
.TP .TP
.nf .nf
exiv2 insert -l/tmp -S.CRW /data/*.JPG exiv2 insert \-l/tmp -S.CRW /data/*.JPG
.fi .fi
Copy all metadata from CRW files in the /tmp directory to JPG files Copy all metadata from CRW files in the /tmp directory to JPG files
with corresponding basenames in the /data directory. Note that this with corresponding basenames in the /data directory. Note that this

Loading…
Cancel
Save