- In the light of recent discoveries on Athena method, I reinstated the

--match switch.
This commit is contained in:
ccremers 2006-03-20 08:47:12 +00:00
parent 881eccd6be
commit 543e430e6c

View File

@ -513,17 +513,14 @@ switcher (const int process, int index, int commandline)
{
if (!process)
{
/*
* Deprecated : use --untyped instead
*
if (switches.expert)
{
helptext ("-m, --match=<int>",
"type matching method [0] 0: No type-flaws allowed, 1: Allow basic type-flaws only, 2: Allow all type-flaws");
*/
"type matching method [0] 0: No type-flaws allowed, 1: Allow basic type-flaws only, 2: Allow all type-flaws (not complete for this beta)");
}
}
else
{
warning
("'-m, --match' switch has been deprecated. Use '-u, --untyped' instead.");
switches.match = integer_argument ();
return index;
}
@ -533,7 +530,10 @@ switcher (const int process, int index, int commandline)
{
if (!process)
{
/* unadvisable, implicit m2 whilst we will need m1 */
/*
helptext ("-u, --untyped", "Consider all variables to be untyped");
*/
}
else
{