MCPcopy Create free account
hub / github.com/Entware/Entware / menu_get_ext_help

Function menu_get_ext_help

scripts/config/menu.c:854–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

852
853
854void menu_get_ext_help(struct menu *menu, struct gstr *help)
855{
856 struct symbol *sym = menu->sym;
857 const char *help_text = nohelp_text;
858
859 if (menu_has_help(menu)) {
860 if (sym->name)
861 str_printf(help, "%s%s:\n\n", CONFIG_, sym->name);
862 help_text = menu_get_help(menu);
863 }
864 str_printf(help, "%s\n", help_text);
865 if (sym)
866 get_symbol_str(help, sym, NULL);
867}

Callers 4

menuInfoMethod · 0.85
show_helpFunction · 0.85
show_helpFunction · 0.85
print_helpFunction · 0.85

Calls 4

menu_has_helpFunction · 0.85
str_printfFunction · 0.85
menu_get_helpFunction · 0.85
get_symbol_strFunction · 0.85

Tested by

no test coverage detected