MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Options

Method Options

Source/Utils/cxxopts.hpp:1717–1728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1715 public:
1716
1717 explicit Options(std::string program, std::string help_string = "")
1718 : m_program(std::move(program))
1719 , m_help_string(toLocalString(std::move(help_string)))
1720 , m_custom_help("[OPTION...]")
1721 , m_positional_help("positional parameters")
1722 , m_show_positional(false)
1723 , m_allow_unrecognised(false)
1724 , m_width(76)
1725 , m_tab_expansion(false)
1726 , m_options(std::make_shared<OptionMap>())
1727 {
1728 }
1729
1730 Options&
1731 positional_help(std::string help_text)

Callers

nothing calls this directly

Calls 1

toLocalStringFunction · 0.85

Tested by

no test coverage detected