From d082ff870fe859673781b3b9f848c60ec86211f7 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 7 Nov 2008 05:32:04 +0000 Subject: [PATCH] Adjust the --script-args example to use args from the whois script, not anonFTP. Remove a mention of script ids. --- docs/refguide.xml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/refguide.xml b/docs/refguide.xml index 609eca80a..855c3f40e 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -2084,15 +2084,13 @@ access. The names are taken as strings (which must be alphanumeric values) and used as keys inside the argument-table. Values are either strings or tables themselves (surrounded by ‘{’ and -‘}’). Subtables make it possible to -override arguments for specific scripts (e.g. when you want to provide -different login/password pairs for different scripts). For example, -you could pass the comma-separated arguments: -user=bar,password=foo, and -anonFTP={password=nobody@foobar.com}. If you want -to override an option to a script, you should index the subtable with -the script's id, since this is the only way the -script knows about its special argument. +‘}’). +For example, you could pass the comma-separated arguments: +user=bar,pass=foo,whois={whodb=nofollow+ripe}. +String arguments are potentially used by several scripts; subtables are +normally used by only one script. In scripts that take a subtable, the +subtable is usually named after the script (like +whois in this example).