OS Manuals

/usr/bin/getdefs

An automated text file generator

From autogen 5.18.16-r6 (enterprise-packages), captured 2026-11-08 by running getdefs --help (exit 70). permalink

getdefs error:  invalid option descriptor for version
getdefs (GNU AutoGen) - AutoGen Definition Extraction Tool - Ver. 1.5
Usage:  getdefs [ <option-name>[{=| }<val>] ]...

Specify which definitions are of interest and what to say about them:

   Arg Option-Name    Description
   Str defs-to-get    Regexp to look for after the "/*="
   Str subblock       subblock definition names
				- may appear multiple times
   Str listattr       attribute with list of values
				- may appear multiple times

specify how to number the definitions:

   Arg Option-Name    Description
   opt ordering       Alphabetize or use named file
				- disabled as '--no-ordering'
				- enabled by default
   Num first-index    The first index to apply to groups

Definition insertion options:

   Arg Option-Name    Description
   opt filelist       Insert source file names into defs
   Str assign         Global assignments
				- may appear multiple times
   Str common-assign  Assignments common to all blocks
				- may appear multiple times
   Str copy           File(s) to copy into definitions
				- may appear multiple times
   opt srcfile        Insert source file name into each def
   opt linenum        Insert source line number into each def

specify which files to search for markers:

   Arg Option-Name    Description
   Str input          Input file to search for defs
				- may appear multiple times
				- default option for unnamed options

Definition output disposition options::

   Arg Option-Name    Description
   Str output         Output file to open
				- an alternate for 'autogen'
   opt autogen        Invoke AutoGen with defs
				- disabled as '--no-autogen'
				- enabled by default
   Str template       Template Name
   Str agarg          AutoGen Argument
				- prohibits the option 'output'
				- may appear multiple times
   Str base-name      Base name for output file(s)
				- prohibits the option 'output'

Version, usage and configuration options:

   Arg Option-Name    Description

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