| 11 | } |
| 12 | |
| 13 | CommandLineOptions ICommand::processCommandLineArguments(const Strings & arguments) |
| 14 | { |
| 15 | CommandLineOptions options; |
| 16 | auto parser = po::command_line_parser(arguments); |
| 17 | parser.options(options_description).positional(positional_options_description); |
| 18 | |
| 19 | po::parsed_options parsed = parser.run(); |
| 20 | po::store(parsed, options); |
| 21 | |
| 22 | return options; |
| 23 | } |
| 24 | |
| 25 | void ICommand::execute(const Strings & arguments, DisksClient & client) |
| 26 | { |