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