Arkanjo 0.2
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
ParsedOptions Struct Reference

#include <parser_options.hpp>

Public Attributes

std::map< std::string, std::string > args
 Map from option name to value.
 
std::vector< std::string > extra_args
 List of extra arguments that are not options.
 

Detailed Description

Definition at line 28 of file parser_options.hpp.

Member Data Documentation

◆ args

std::map<std::string, std::string> ParsedOptions::args

Map from option name to value.

  • For flags without arguments, the value is the string "true".
  • For options with arguments, the value is the argument passed by the user. eg: { "config": "config.json", "verbose": "true" }

Definition at line 36 of file parser_options.hpp.

◆ extra_args

std::vector<std::string> ParsedOptions::extra_args

List of extra arguments that are not options.

Definition at line 41 of file parser_options.hpp.


The documentation for this struct was generated from the following file: