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

Method generate_group_help

Source/Utils/cxxopts.hpp:2614–2635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2612}
2613
2614inline
2615void
2616Options::generate_group_help
2617(
2618 String& result,
2619 const std::vector<std::string>& print_groups
2620) const
2621{
2622 for (size_t i = 0; i != print_groups.size(); ++i)
2623 {
2624 const String& group_help_text = help_one_group(print_groups[i]);
2625 if (empty(group_help_text))
2626 {
2627 continue;
2628 }
2629 result += group_help_text;
2630 if (i < print_groups.size() - 1)
2631 {
2632 result += '\n';
2633 }
2634 }
2635}
2636
2637inline
2638void

Callers

nothing calls this directly

Calls 2

emptyFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected