@@ -56,7 +56,7 @@ namespace docopt {
5656 struct DocoptExitVersion : std::runtime_error { DocoptExitVersion() : std::runtime_error(" Docopt --version argument encountered" ) {} };
5757
5858 // / A map of options set by the user
59- using options = std::map<std::string, value>;
59+ using Options = std::map<std::string, value>;
6060
6161 // / Parse user options from the given option string.
6262 // /
@@ -71,7 +71,7 @@ namespace docopt {
7171 // / @throws DocoptExitHelp if 'help' is true and the user has passed the '--help' argument
7272 // / @throws DocoptExitVersion if 'version' is true and the user has passed the '--version' argument
7373 // / @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,
7575 std::vector<std::string> const & argv,
7676 bool help = true ,
7777 bool version = true ,
@@ -84,7 +84,7 @@ namespace docopt {
8484 // / * DocoptExitHelp - print usage string and terminate (with exit code 0)
8585 // / * DocoptExitVersion - print version and terminate (with exit code 0)
8686 // / * 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,
8888 std::vector<std::string> const & argv,
8989 bool help = true ,
9090 std::string const & version = {},
0 commit comments