/** \file \brief Implements mutils::CommandLine. \who \kpr */ #include namespace mutils { /** Scans a GNU-style long option. The \a next argument is used only if there is no explicitly attached value but one is required. For options without a value, the value string will be set to a single null character; this *cannot* be produced by assignment from a C string and hence its meaning is unambiguous. \param[in] name %Option name (without leading `--`, possibly with attached value). \param[in] next Next command line argument (may be the option value). \return Whether \a next was consumed. */ bool CommandLine::parseLong(const char *name, const char *next) { const char *fn = "CommandLine::parseLong"; const std::vector