From: markus schnalke Date: Sat, 5 May 2012 05:51:52 +0000 (+0200) Subject: sortm: Removed the hidden -subject switch, which provided compat only. X-Git-Tag: mmh-thesis-end~50 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=00140a3c86e9def69d98ba2ffd4d6e50ef6326ea sortm: Removed the hidden -subject switch, which provided compat only. Use `-textfield subject' instead. --- 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;