Fix: Added default target for delete action

This commit is contained in:
Andreas Huggel 2004-12-05 04:08:49 +00:00
parent 690218f88d
commit 9699555a67

View File

@ -378,6 +378,7 @@ int Params::nonoption(const std::string& argv)
}
action = true;
action_ = Action::erase;
target_ = ctExif;
}
if (argv == "ex" || argv == "extract") {
if (action_ != Action::none && action_ != Action::extract) {