MCPcopy Create free account
hub / github.com/Genivia/RE-flex / version

Method version

src/reflex.cpp:544–550  ·  view source on GitHub ↗

Display version information and exit

Source from the content-addressed store, hash-verified

542
543/// Display version information and exit
544void Reflex::version()
545{
546 std::cout << "reflex " REFLEX_VERSION " " PLATFORM << "\n"
547 "License BSD-3-Clause: <https://opensource.org/licenses/BSD-3-Clause>\n"
548 "Written by Robert van Engelen and others: <https://github.com/Genivia/RE-flex>" << std::endl;
549 exit(EXIT_SUCCESS);
550}
551
552/// Display help information with an optional diagnostic message and exit
553void Reflex::help(const char *message, const char *arg)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected