From d847f50827e6818ba257a119b4595355873bf34b Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Tue, 26 Mar 2019 11:12:39 -0700 Subject: transition to cli11 instead of custom arg parser Transition to use cli11 for argument parsing instead of a custom argument parser. Tested: Not tested on hardware. Signed-off-by: Patrick Venture Change-Id: I9c516c8c2d76e35c6c31592f96e8f281e9d47ad6 --- argument.hpp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 argument.hpp (limited to 'argument.hpp') diff --git a/argument.hpp b/argument.hpp deleted file mode 100644 index 849ccb5..0000000 --- a/argument.hpp +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef __ARGUMENT_H -#define __ARGUMENT_H -#include - -#include -#include -class ArgumentParser -{ - public: - ArgumentParser(int argc, char** argv); - const std::string& operator[](const std::string& opt); - - static void usage(char** argv); - - static const std::string true_string; - static const std::string empty_string; - - private: - std::map arguments; - - static const option options[]; - static const char* optionstr; - - private: - ArgumentParser(){}; -}; - -#endif -- cgit v1.2.1