Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: kirkrodrigues <2454684+kirkrodrigues@users.noreply.github.com>
  • Loading branch information
gibber9809 and kirkrodrigues authored Jul 23, 2024
1 parent f6f9f10 commit b413080
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/core/src/clp_s/CommandLineArguments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,12 @@ CommandLineArguments::parse_arguments(int argc, char const** argv) {
// clang-format off
metadata_options.add_options()(
"mongodb-uri",
po::value<std::string>(&m_mongodb_uri),
"The mongodb database used to record decompression metadata"
po::value<std::string>(&m_mongodb_uri)->value_name("URI"),
"MongoDB URI for the database to write decompression metadata to"
)(
"mongodb-collection",
po::value<std::string>(&m_mongodb_collection),
"The collection used to record decompression metadata"
po::value<std::string>(&m_mongodb_collection)->value_name("COLLECTION"),
"MongoDB collection to write decompression metadata to"
);
// clang-format on
extraction_options.add(metadata_options);
Expand Down Expand Up @@ -375,7 +375,7 @@ CommandLineArguments::parse_arguments(int argc, char const** argv) {

if (false == m_mongodb_uri.empty() && false == m_ordered_decompression) {
throw std::invalid_argument(
"recording decompression metadata only supported for ordered decompression"
"Recording decompression metadata only supported for ordered decompression"
);
}
} else if ((char)Command::Search == command_input) {
Expand Down

0 comments on commit b413080

Please sign in to comment.