2 * File automatically generated by
3 * gengen 1.4.1 by Lorenzo Bettini
4 * http://www.gnu.org/software/gengen
7 #include "handle_version.h"
10 handle_version_gen_class::generate_handle_version(ostream &stream, unsigned int indent)
12 string indent_str (indent, ' ');
17 stream << "case 'V': /* Print version and exit. */";
23 stream << "if (strcmp (long_options[option_index].name, \"version\") == 0) {";
28 generate_string (parser_name, stream, indent + indent_str.length ());
29 stream << "_print_version ();";
34 generate_string (parser_name, stream, indent + indent_str.length ());
35 stream << "_free (&local_args_info);";
39 stream << " exit (EXIT_SUCCESS);";