~sourcemage/tome-rdp

888149cd94e46b1ac63958da20078efa3cd2e829 — Eric Sandall 17 years ago 78f43c0
GrimoireGuruHandbook.tex: Mention adding SPELL_OPTION to OPTS for config_query_option
1 files changed, 12 insertions(+), 4 deletions(-)

M GrimoireGuruHandbook.tex
M GrimoireGuruHandbook.tex => GrimoireGuruHandbook.tex +12 -4
@@ 848,10 848,18 @@ config_query_multi   SOMETHING     "What do you want?"                      \
\end{verbatim}

config\_query\_option is a bit different, it does not overwrite content of
\textdollar SPELL\_OPTION, rather the result is appended to it.
config\_query\_multi is
different from config\_query\_list in that it makes available multiple options
instead of just one. To use it one has to add
\textdollar SPELL\_OPTION, rather the result is appended to it. If you want to
use the parameters passed via config\_query\_option, you will need to manually
add it. This is generally done in BUILD with:
\begin{verbatim}
OPTS="$SPELL_OPTION  \
      $OPTS"         &&

default_build
\end{verbatim}

config\_query\_multi is different from config\_query\_list in that it makes
available multiple options instead of just one. To use it one has to add
\begin{verbatim}
source $GRIMOIRE/config_query_multi.function
\end{verbatim}