OS Manuals

/usr/bin/glib-mkenums

glib dev

From glib-dev 2.90.1-r2 (os), captured 2026-11-05 by running glib-mkenums --help (exit 0). permalink

usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] [--symbol-prefix SYMPREFIX]
                    [--fhead FHEAD] [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
                    [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] [--comments COMMENT_TMPL]
                    [--template TEMPLATE] [--output OUTPUT] [--version]
                    [args ...]

positional arguments:
  args                  One or more input files, or a single argument @rspfile_path pointing to a
                        file that contains the actual arguments

options:
  -h, --help            show this help message and exit
  --identifier-prefix IDPREFIX
                        Identifier prefix
  --symbol-prefix SYMPREFIX
                        Symbol prefix
  --fhead FHEAD         Output file header
  --ftail FTAIL         Output file footer
  --fprod FPROD         Put out TEXT every time a new input file is being processed.
  --eprod EPROD         Per enum text, produced prior to value iterations
  --vhead VHEAD         Value header, produced before iterating over enum values
  --vprod VPROD         Value text, produced for each enum value.
  --vtail VTAIL         Value tail, produced after iterating over enum values
  --comments COMMENT_TMPL
                        Comment structure
  --template TEMPLATE   Template file
  --output OUTPUT
  --version, -v         Print version information

Production text substitutions:
  @EnumName@            PrefixTheXEnum
  @enum_name@           prefix_the_xenum
  @ENUMNAME@            PREFIX_THE_XENUM
  @ENUMSHORT@           THE_XENUM
  @ENUMPREFIX@          PREFIX
  @enumsince@           the user-provided since value given
  @VALUENAME@           PREFIX_THE_XVALUE
  @valuenick@           the-xvalue
  @valuenum@            the integer value (limited support, Since: 2.26)
  @type@                either enum or flags
  @Type@                either Enum or Flags
  @TYPE@                either ENUM or FLAGS
  @filename@            name of current input file
  @basename@            base name of the current input file (Since: 2.22)
Options (14)
OptionDescriptionSource
-h, --helpshow this help message and exithelp + man
--identifier-prefix IDPREFIXIndicates what portion of the enum name should be interpreted as the prefix (e.g. the Gtk in GtkDirectionType).help + man
--symbol-prefix SYMPREFIXIndicates what prefix should be used to correspond to the identifier prefix in related C function names (e.g. the gtk in gtk_direction_type_get_type).help + man
--fhead FHEADEmits TEXT prior to processing input files.help + man
--ftail FTAILEmits TEXT after all input files have been processed.help + man
--fprod FPRODPut out TEXT every time a new input file is being processed.help + man
--eprod EPRODEmits TEXT every time an enum is encountered in the input files.help + man
--vhead VHEADEmits TEXT before iterating over the set of values of an enum.help + man
--vprod VPRODValue text, produced for each enum value.help + man
--vtail VTAILEmits TEXT after iterating over all values of an enum.help + man
--comments COMMENT_TMPLTemplate for auto-generated comments, the default (for C code generations) is "/ @comment@ /".help + man
--template TEMPLATERead templates from the given file.help + man
--output OUTPUTWrite output to FILE instead of stdout.help + man
--version, -vPrint version informationhelp + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.