reordered options

This commit is contained in:
Alexey Gerasimchuck 2023-05-17 04:03:52 +00:00
parent 253fadb676
commit 29b10ae336

View File

@ -2604,12 +2604,12 @@ void ClientBase::init(int argc, char ** argv)
("query,q", po::value<std::string>(), "query") ("query,q", po::value<std::string>(), "query")
("queries-file", po::value<std::vector<std::string>>()->multitoken(), ("queries-file", po::value<std::vector<std::string>>()->multitoken(),
"file path with queries to execute; multiple files can be specified (--queries-file file1 file2...)") "file path with queries to execute; multiple files can be specified (--queries-file file1 file2...)")
("multiquery,n", "Indicates that --query can execute several SQL statements. if --query was not specified then SQL statement can be set right after --multiquery. Example --multiquery \"select 1\"") ("multiquery,n", "Indicates that --query can execute several SQL statements. if --query was not specified then SQL statement can be set right after --multiquery. Example --multiquery \"select 1\"")
("multiline,m", "If specified, allow multiline queries (do not send the query on Enter)") ("multiline,m", "If specified, allow multiline queries (do not send the query on Enter)")
("database,d", po::value<std::string>(), "database")
("query_kind", po::value<std::string>()->default_value("initial_query"), "One of initial_query/secondary_query/no_query") ("query_kind", po::value<std::string>()->default_value("initial_query"), "One of initial_query/secondary_query/no_query")
("query_id", po::value<std::string>(), "query_id") ("query_id", po::value<std::string>(), "query_id")
("database,d", po::value<std::string>(), "database")
("history_file", po::value<std::string>(), "path to history file") ("history_file", po::value<std::string>(), "path to history file")
("stage", po::value<std::string>()->default_value("complete"), "Request query processing up to specified stage: complete,fetch_columns,with_mergeable_state,with_mergeable_state_after_aggregation,with_mergeable_state_after_aggregation_and_limit") ("stage", po::value<std::string>()->default_value("complete"), "Request query processing up to specified stage: complete,fetch_columns,with_mergeable_state,with_mergeable_state_after_aggregation,with_mergeable_state_after_aggregation_and_limit")