[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.5.5.3 Immediate Action Attributes

Certain options may need to be processed early. For example, in order to suppress the processing of configuration files, it is necessary to process the command line option ‘--no-load-optsbefore the config files are processed. To accommodate this, certain options may have their enabled or disabled forms marked for immediate processing. The consequence of this is that they are processed ahead of all other options in the reverse of normal order.

Normally, the first options processed are the options specified in the first homerc file, followed by then next homerc file through to the end of config file processing. Next, environment variables are processed and finally, the command line options. The later options override settings processed earlier. That actually gives them higher priority. Command line immediate action options actually have the lowest priority of all. They would be used only if they are to have an effect on the processing of subsequent options.

immediate

Use this option attribute to specify that the enabled form of the option is to be processed immediately. The help and more-help options are so specified. They will also call exit() upon completion, so they do have an effect on the processing of the remaining options :-).

immed-disable

Use this option attribute to specify that the disabled form of the option is to be processed immediately. The load-opts option is so specified. The ‘--no-load-opts’ command line option will suppress the processing of config files and environment variables. Contrariwise, the ‘--load-opts’ command line option is processed normally. That means that the options specified in that file will be processed after all the homerc files and, in fact, after options that precede it on the command line.

also

If either the immediate or the immed-disable attributes are set to the string, also, then the option will actually be processed twice: first at the immediate processing phase and again at the normal time.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.