- print STDERR "Usage: glib-mkenums [options] [files...]\n";
- print STDERR " --fhead <text> output file header\n";
- print STDERR " --fprod <text> per input file production\n";
- print STDERR " --ftail <text> output file trailer\n";
- print STDERR " --eprod <text> per enum text (produced prior to value itarations)\n";
- print STDERR " --vhead <text> value header, produced before iterating over enum values\n";
- print STDERR " --vprod <text> value text, produced for each enum value\n";
- print STDERR " --vtail <text> value tail, produced after iterating over enum values\n";
- print STDERR " --comments <text> comment structure\n";
- print STDERR " -h, --help show this help message\n";
- print STDERR " -v, --version print version informations\n";
- print STDERR "Production text substitutions:\n";
- print STDERR " \@EnumName\@ PrefixTheXEnum\n";
- print STDERR " \@enum_name\@ prefix_the_xenum\n";
- print STDERR " \@ENUMNAME\@ PREFIX_THE_XENUM\n";
- print STDERR " \@ENUMSHORT\@ THE_XENUM\n";
- print STDERR " \@VALUENAME\@ PREFIX_THE_XVALUE\n";
- print STDERR " \@valuenick\@ the-xvalue\n";
- print STDERR " \@type\@ either enum or flags\n";
- print STDERR " \@Type\@ either Enum or Flags\n";
- print STDERR " \@TYPE\@ either ENUM or FLAGS\n";
- print STDERR " \@filename\@ name of current input file\n";
+ print "Usage:\n";
+ print " glib-mkenums [OPTION...] [FILES...]\n\n";
+ print "Help Options:\n";
+ print " -h, --help Show this help message\n\n";
+ print "Utility Options:\n";
+ print " --identifier-prefix <text> Identifier prefix\n";
+ print " --symbol-prefix <text> Symbol prefix\n";
+ print " --fhead <text> Output file header\n";
+ print " --fprod <text> Per input file production\n";
+ print " --ftail <text> Output file trailer\n";
+ print " --eprod <text> Per enum text (produced prior to value itarations)\n";
+ print " --vhead <text> Value header, produced before iterating over enum values\n";
+ print " --vprod <text> Value text, produced for each enum value\n";
+ print " --vtail <text> Value tail, produced after iterating over enum values\n";
+ print " --comments <text> Comment structure\n";
+ print " --template file Template file\n";
+ print " -v, --version Print version informations\n\n";
+ print "Production text substitutions:\n";
+ print " \@EnumName\@ PrefixTheXEnum\n";
+ print " \@enum_name\@ prefix_the_xenum\n";
+ print " \@ENUMNAME\@ PREFIX_THE_XENUM\n";
+ print " \@ENUMSHORT\@ THE_XENUM\n";
+ print " \@ENUMPREFIX\@ PREFIX\n";
+ print " \@VALUENAME\@ PREFIX_THE_XVALUE\n";
+ print " \@valuenick\@ the-xvalue\n";
+ print " \@valuenum\@ the integer value (limited support, Since: 2.26)\n";
+ print " \@type\@ either enum or flags\n";
+ print " \@Type\@ either Enum or Flags\n";
+ print " \@TYPE\@ either ENUM or FLAGS\n";
+ print " \@filename\@ name of current input file\n";
+ print " \@basename\@ base name of the current input file (Since: 2.22)\n";