MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / print_switches

Function print_switches

src/gpre/gpre.cpp:2686–2708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2684//
2685
2686static void print_switches()
2687{
2688 const Switches::in_sw_tab_t* in_sw_table_iterator;
2689
2690 fprintf(stderr, "\tlegal switches are:\n");
2691 for (in_sw_table_iterator = gpre_in_sw_table; in_sw_table_iterator->in_sw; in_sw_table_iterator++)
2692 {
2693 if (in_sw_table_iterator->in_sw_text)
2694 {
2695 fprintf(stderr, "%s%s\n", in_sw_table_iterator->in_sw_name,
2696 in_sw_table_iterator->in_sw_text);
2697 }
2698 }
2699
2700 fprintf(stderr, "\n\tand the internal 'illegal' switches are:\n");
2701 for (in_sw_table_iterator = gpre_in_sw_table; in_sw_table_iterator->in_sw; in_sw_table_iterator++)
2702 {
2703 if (!in_sw_table_iterator->in_sw_text) {
2704 fprintf(stderr, "%s\n", in_sw_table_iterator->in_sw_name);
2705 }
2706 }
2707
2708}
2709
2710
2711//____________________________________________________________

Callers 2

arg_is_stringFunction · 0.85
get_switchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected