|
|
@@ -7,7 +7,7 @@
|
|
|
namespace program {
|
|
|
|
|
|
template <typename Impl> class Arguments {
|
|
|
-protected:
|
|
|
+private:
|
|
|
struct Argument;
|
|
|
struct Option;
|
|
|
template <typename, typename> struct WithDefault;
|
|
|
@@ -16,6 +16,7 @@ public:
|
|
|
Arguments() = default;
|
|
|
Arguments(int argc, char const * const * const argv);
|
|
|
|
|
|
+protected:
|
|
|
auto option(std::string const & name, std::string const & description = "");
|
|
|
auto option(std::string const & name, char abbrev,
|
|
|
std::string const & description = "");
|