From 282c0d50943b1249e568a9276b286cbddf1e7393 Mon Sep 17 00:00:00 2001 From: ccremers Date: Tue, 28 Feb 2006 14:06:12 +0000 Subject: [PATCH] - --experimental is now available in the normal version, but for experts only. --- src/switches.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/switches.c b/src/switches.c index 4103525..44a0bd2 100644 --- a/src/switches.c +++ b/src/switches.c @@ -926,26 +926,27 @@ switcher (const int process, int index, int commandline) } } -#ifdef DEBUG /* ================== * Experimental options * - * Only with debugging version + * Only for experts */ - if (detect (' ', "experimental", 1)) + if (switches.expert) { - if (!process) + if (detect (' ', "experimental", 1)) { - /* unpredictable behaviour, can change throughout versions */ - } - else - { - switches.experimental = integer_argument (); - return index; + if (!process) + { + /* unpredictable behaviour, can change throughout versions */ + } + else + { + switches.experimental = integer_argument (); + return index; + } } } -#endif /* ================== * Misc switches