Project

General

Profile

Bug #580

-M option fails and reports success...

Added by Daniel J Blueman almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
tools
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

When invoking exiv2 with multiple -M options, the first is processed, and an error is given for the second, but the return code is 0.

$ exiv2 mo -M 'set Exif.Image.Copyright Ascii Me' -M 'set Exif.Image.Orientation Short left, top' _MG_3095.jpg
Warning: Exif.Image.Orientation: Failed to read Short value "left, top"
$ echo $?
0

This has high impact, since the second EXIF tag update has been reported to succeed, but didn't.

History

#1

Updated by Andreas Huggel almost 13 years ago

The return code of the modify command is currently always 0, not only if the second command fails. But I agree this can be improved.

#3

Updated by Andreas Huggel almost 13 years ago

  • % Done changed from 0 to 100
#4

Updated by Andreas Huggel almost 13 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF