Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/arg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,10 +584,10 @@ static bool common_params_parse_ex(int argc, char ** argv, common_params_context
continue;
}
} catch (std::exception & e) {
throw std::invalid_argument(string_format(
LOG_WRN(
"error while handling argument \"%s\": %s\n\n"
"usage:\n%s\n\nto show complete usage, run with -h",
arg.c_str(), e.what(), opt.to_string().c_str()));
arg.c_str(), e.what(), opt.to_string().c_str());
}
}
};
Expand Down
Loading