diff --git a/src/lib/cli.cpp b/src/lib/cli.cpp index fd10870..32047f7 100644 --- a/src/lib/cli.cpp +++ b/src/lib/cli.cpp @@ -32,10 +32,10 @@ namespace CLI { this->present = false; } - UnpositionalArgument::UnpositionalArgument() { + Option::Option() { this->present = false; } - UnpositionalArgument::UnpositionalArgument(char shortName, std::string longName, std::string placeholder, std::string description) { + Option::Option(char shortName, std::string longName, std::string placeholder, std::string description) { this->shortName = shortName; this->longName = longName; this->description = description; @@ -43,23 +43,22 @@ namespace CLI { this->present = false; } - PositionalArgument::PositionalArgument() { + Argument::Argument() { this->present = false; } - PositionalArgument::PositionalArgument(std::string placeholder, std::string description) { + Argument::Argument(std::string placeholder, std::string description) { this->description = description; this->placeholder = placeholder; this->present = false; } // using int here bc that's how main() is defined - ArgumentsParser::ArgumentsParser(int argc, const char* const argv[], std::vector flags, std::vector unpositionalArguments, std::vector positionalArguments) { + ArgumentsParser::ArgumentsParser(int argc, const char* const argv[], std::vector flags, std::vector