summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2020-07-28 22:58:08 -0400
committerHubert Figuière <hub@figuiere.net>2020-07-28 22:58:08 -0400
commitf7d3fdd85d613268ae0d6a6b1b4096ab9d6c7161 (patch)
tree30ca48531d5da553f042f49411bcbc714a97ddbf /tools
parentb9848882fff47e7c341c88bacbccd3dbf6c1b399 (diff)
exifdump: fix the -b option
Diffstat (limited to 'tools')
-rw-r--r--tools/exifdump.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/exifdump.cpp b/tools/exifdump.cpp
index 68f612e..96603af 100644
--- a/tools/exifdump.cpp
+++ b/tools/exifdump.cpp
@@ -171,14 +171,14 @@ int main(int argc, char **argv)
std::vector<std::string> files;
int o;
- while ((o = getopt(argc, argv, "hvd")) != -1) {
+ while ((o = getopt(argc, argv, "hvdb")) != -1) {
switch (o) {
case 'h':
print_help();
done = 1;
break;
case 'b':
- dump_binaries = 1;
+ dump_binaries = true;
break;
case 'v':
print_version();