/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugin-runner.xml

  • Committer: Teddy Hogeborn
  • Date: 2008-09-01 16:53:17 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080901165317-77dccp81zyqimt2j
* plugin-runner.c (add_environment): Override existing environment
                                     variables when asked to do so.
                                     All callers changed.
  (main): Removed old argp.args_doc string.  Parse argument file
          before normal command line arguments.  Use ARGP_IN_ORDER
          flag in both calls to argp_parse.  Do not strdup() strings
          to be sent to add_environment().

* plugin-runner.xml (OPTIONS): Document "--global-env" and "--envs-for".
  (FILES): Note that the config file is parsed before the command line
           options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
        >value</replaceable></option></term>
168
168
        <listitem>
169
169
          <para>
170
 
            
 
170
            This option will add an environment variable setting to
 
171
            all plugins.  This will override any inherited environment
 
172
            variable.
171
173
          </para>
172
174
        </listitem>
173
175
      </varlistentry>
183
185
        ><replaceable>value</replaceable></option></term>
184
186
        <listitem>
185
187
          <para>
 
188
            This option will add an environment variable setting to
 
189
            the <replaceable>PLUGIN</replaceable> plugin.  This will
 
190
            override any inherited environment variables or
 
191
            environment variables specified using
 
192
            <option>--global-env</option>.
186
193
          </para>
187
194
        </listitem>
188
195
      </varlistentry>
407
414
              everything from a <quote>#</quote> character to the end
408
415
              of a line is ignored.
409
416
            </para>
 
417
            <para>
 
418
              This file will be processed <emphasis>before</emphasis>
 
419
              the normal command line options, so the latter can
 
420
              override the former, if need be.
 
421
            </para>
410
422
          </listitem>
411
423
        </varlistentry>
412
424
      </variablelist>
416
428
  <refsect1 id="bugs">
417
429
    <title>BUGS</title>
418
430
    <para>
 
431
      There is no <option>--enable</option> option to enable disabled
 
432
      plugins.
419
433
    </para>
420
434
  </refsect1>
421
435