Go to the first, previous, next, last section, table of contents.
AutoOpts provides automated support for five options. help
and
more-help
are always provided. version
is provided if
version
is defined in the option definitions. save-opts
and load-opts
are provided if at least one homerc
is
defined.
Below are the option names and flag values. The flags are activated if
and only if at least one user-defined option also uses a flag value.
These flags may be deleted or changed to characters of your choosing by
specifying xxx-value = "y";
, where xxx
is one of the five names below and y
is either empty or the
character of your choice. For example, to change the help flag from
?
to h
, specify help-value = "h";
; and to require
that save-opts
be specified only with its long option name,
specify save-opts-value = "";
.
USAGE()
procedure
and display the usage line, a description of each option with
its description and option usage information. This is followed
by the contents of the definition of the detail
text macro.
help
option, except that
it also includes the contents of the detail-file
file
(if provided and found), plus the output is passed through
a pager program. (more
by default, or the program identified
by the PAGER
environment variable.)
c
and
a value for copyright
and owner
have been provided,
then the copyright will be printed, too.
If it is followed by the letter n
, then the full
copyright notice (if available) will be printed.
rcfile
) in the last directory named in a homerc
definition
no-load-opts
will suppress the processing of rc/ini files and
environment variables. To do this, AutoOpts must first implement
pre-scanning of the options, environment and rc files.
Go to the first, previous, next, last section, table of contents.