- --experimental is now available in the normal version, but for experts

only.
This commit is contained in:
ccremers 2006-02-28 14:06:12 +00:00
parent a4429d548f
commit 282c0d5094

View File

@ -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