Skip to content

Commit

Permalink
Make projection option visible
Browse files Browse the repository at this point in the history
  • Loading branch information
gibber9809 committed Aug 9, 2024
1 parent 433a1c0 commit 4b99d5a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions components/core/src/clp_s/CommandLineArguments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,6 @@ CommandLineArguments::parse_arguments(int argc, char const** argv) {
)(
"output-handler-args",
po::value<std::vector<std::string>>()
)(
"projection",
po::value<std::vector<std::string>>(&m_projection_columns)->multitoken(),
"The set of projected columns that will be marshalled for matching results"
);
// clang-format on
po::positional_options_description positional_options;
Expand All @@ -429,6 +425,12 @@ CommandLineArguments::parse_arguments(int argc, char const** argv) {
"archive-id",
po::value<std::string>(&m_archive_id)->value_name("ID"),
"Limit search to the archive with the given ID"
)(
"projection",
po::value<std::vector<std::string>>(&m_projection_columns)
->multitoken()
->value_name("COLUMN_A COLUMN_B ..."),
"The set of projected columns that will be marshalled for matching results"
);
// clang-format on
search_options.add(match_options);
Expand Down

0 comments on commit 4b99d5a

Please sign in to comment.