3 #include "CommandLineParserUtils.h"
7 //! utility functions for command line parsers
8 namespace CommandLineParserUtils
10 //! converts command line option enum to resppective string
11 std::string
getStringFlag(CommandLineParserBase::CommandLineOptions flag
)
15 case CommandLineParserBase::CommandLineOptions::Version
:
17 case CommandLineParserBase::CommandLineOptions::Help
:
19 case CommandLineParserBase::CommandLineOptions::URL
:
21 case CommandLineParserBase::CommandLineOptions::JsonCache
:
23 case CommandLineParserBase::CommandLineOptions::DotOut
:
25 case CommandLineParserBase::CommandLineOptions::FetchDeep
:
27 case CommandLineParserBase::CommandLineOptions::SkipSslVerification
:
28 return "skip-ssl-verification";
33 } // namespace CommandLineParserUtils
34 } // namespace WikiWalker