@@ -56,7 +56,7 @@ namespace docopt {
56
56
struct DocoptExitVersion : std::runtime_error { DocoptExitVersion() : std::runtime_error(" Docopt --version argument encountered" ) {} };
57
57
58
58
// / A map of options set by the user
59
- using options = std::map<std::string, value>;
59
+ using Options = std::map<std::string, value>;
60
60
61
61
// / Parse user options from the given option string.
62
62
// /
@@ -71,7 +71,7 @@ namespace docopt {
71
71
// / @throws DocoptExitHelp if 'help' is true and the user has passed the '--help' argument
72
72
// / @throws DocoptExitVersion if 'version' is true and the user has passed the '--version' argument
73
73
// / @throws DocoptArgumentError if the user's argv did not match the usage patterns
74
- options DOCOPT_API docopt_parse (std::string const & doc,
74
+ Options DOCOPT_API docopt_parse (std::string const & doc,
75
75
std::vector<std::string> const & argv,
76
76
bool help = true ,
77
77
bool version = true ,
@@ -84,7 +84,7 @@ namespace docopt {
84
84
// / * DocoptExitHelp - print usage string and terminate (with exit code 0)
85
85
// / * DocoptExitVersion - print version and terminate (with exit code 0)
86
86
// / * DocoptArgumentError - print error and usage string and terminate (with exit code -1)
87
- options DOCOPT_API docopt (std::string const & doc,
87
+ Options DOCOPT_API docopt (std::string const & doc,
88
88
std::vector<std::string> const & argv,
89
89
bool help = true ,
90
90
std::string const & version = {},
0 commit comments