2015-10-15 13:06:51 +02:00
|
|
|
#pragma once
|
2019-01-19 22:02:41 +01:00
|
|
|
#ifndef MESSMER_CRYFSCLI_PROGRAMOPTIONS_UTILS_H
|
|
|
|
#define MESSMER_CRYFSCLI_PROGRAMOPTIONS_UTILS_H
|
2015-09-29 14:29:10 +02:00
|
|
|
|
|
|
|
#include <utility>
|
|
|
|
#include <vector>
|
2016-05-10 01:07:02 +02:00
|
|
|
#include <string>
|
2015-09-29 14:29:10 +02:00
|
|
|
|
2019-01-19 22:02:41 +01:00
|
|
|
namespace cryfs_cli {
|
2015-09-29 14:29:10 +02:00
|
|
|
namespace program_options {
|
|
|
|
/**
|
|
|
|
* Splits an array of program options into two arrays of program options, split at a double dash '--' option.
|
|
|
|
*/
|
2016-05-10 01:07:02 +02:00
|
|
|
std::pair<std::vector<std::string>, std::vector<std::string>> splitAtDoubleDash(const std::vector<std::string> &options);
|
2015-09-29 14:29:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|