From 00140a3c86e9def69d98ba2ffd4d6e50ef6326ea Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Sat, 5 May 2012 07:51:52 +0200 Subject: [PATCH] sortm: Removed the hidden -subject switch, which provided compat only. Use `-textfield subject' instead. --- uip/sortm.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/uip/sortm.c b/uip/sortm.c index d7dae61..9e96d5a 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -17,19 +17,17 @@ static struct swit switches[] = { { "textfield field", 0 }, #define NSUBJSW 2 { "notextfield", 0 }, -#define SUBJSW 3 - { "subject", -3 }, /* backward-compatibility */ -#define LIMSW 4 +#define LIMSW 3 { "limit days", 0 }, -#define NLIMSW 5 +#define NLIMSW 4 { "nolimit", 0 }, -#define VERBSW 6 +#define VERBSW 5 { "verbose", 0 }, -#define NVERBSW 7 +#define NVERBSW 6 { "noverbose", 0 }, -#define VERSIONSW 8 +#define VERSIONSW 7 { "Version", 0 }, -#define HELPSW 9 +#define HELPSW 8 { "help", 0 }, { NULL, 0 } }; @@ -122,9 +120,6 @@ main(int argc, char **argv) argp[-2]); continue; - case SUBJSW: - subjsort = "subject"; - continue; case NSUBJSW: subjsort = NULL; continue; -- 1.7.10.4