From 543e430e6ce0a968029e5a37eeafcaa0d1379efd Mon Sep 17 00:00:00 2001 From: ccremers Date: Mon, 20 Mar 2006 08:47:12 +0000 Subject: [PATCH] - In the light of recent discoveries on Athena method, I reinstated the --match switch. --- src/switches.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/switches.c b/src/switches.c index 546ea6f..6ea6788 100644 --- a/src/switches.c +++ b/src/switches.c @@ -513,17 +513,14 @@ switcher (const int process, int index, int commandline) { if (!process) { - /* - * Deprecated : use --untyped instead - * - helptext ("-m, --match=", - "type matching method [0] 0: No type-flaws allowed, 1: Allow basic type-flaws only, 2: Allow all type-flaws"); - */ + if (switches.expert) + { + helptext ("-m, --match=", + "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) { - 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 {