sortm: Removed the hidden -subject switch, which provided compat only.
authormarkus schnalke <meillo@marmaro.de>
Sat, 5 May 2012 05:51:52 +0000 (07:51 +0200)
committermarkus schnalke <meillo@marmaro.de>
Sat, 5 May 2012 05:51:52 +0000 (07:51 +0200)
Use `-textfield subject' instead.

uip/sortm.c

index d7dae61..9e96d5a 100644 (file)
@@ -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;