From 1b4b3825dac84f6e3e4e40351b047cc7a3a4d179 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 13 Jan 2014 17:24:13 +0100 Subject: Capitalize "Extra-Opts" "Extra-Opts" is a name. diff --git a/web/input/doc/extra-opts.md b/web/input/doc/extra-opts.md index 06fc5b7..7e68264 100644 --- a/web/input/doc/extra-opts.md +++ b/web/input/doc/extra-opts.md @@ -10,7 +10,7 @@ at compile-time for now (`--enable-extra-opts`) and will be enabled by default in the future. Perl plugins using the [Nagios::Plugin][module] module have this support since version 0.16. -You can easily know if a plugin supports *extra-opts* by checking the `--help` +You can easily know if a plugin supports *Extra-Opts* by checking the `--help` output for the `--extra-opts` option. Once compiled in, the `--extra-opts` plugin option allows reading extra options from a config file. The syntax for the command is: @@ -32,7 +32,7 @@ Some examples: $ ./check_stuff --extra-opts=@/etc/myconfig.ini * Read `check_stuff` section of default config file and use additional - arguments along with the other specified arguments (*extra-opts* arguments + arguments along with the other specified arguments (*Extra-Opts* arguments are always processed first no matter where `--extra-opts` appears on the command line): diff --git a/web/input/doc/faq/private-c-api.md b/web/input/doc/faq/private-c-api.md index 585ca42..c814d8c 100644 --- a/web/input/doc/faq/private-c-api.md +++ b/web/input/doc/faq/private-c-api.md @@ -64,7 +64,7 @@ state file to be `.../{keyname}`. The `keyname` will have any non alphanumerics replaced with "`_`". If `keyname` is `NULL`, will generate an SHA1 `keyname` based on the `argv` of -the plugin (using the [extra-opts][extra-opts] parsed version, if applicable). +the plugin (using the [Extra-Opts][extra-opts] parsed version, if applicable). *Note:* The `keyname` should be uniquely defined for a particular service, to avoid a second invocation of the plugin to use the state information from a -- cgit v0.10-9-g596f