Removed the undocumented -unique switches. Seems they were JLR-only stuff.
[mmh] / uip / send.c
index e77f2b1..e6d61dc 100644 (file)
@@ -33,23 +33,17 @@ static struct swit switches[] = {
        { "push", 0 },
 #define NPUSHSW  9
        { "nopush", 0 },
-#define UNIQSW  10
-       { "unique", -6 },
-#define NUNIQSW  11
-       { "nounique", -8 },
-#define VERBSW  12
+#define VERBSW  10
        { "verbose", 0 },
-#define NVERBSW  13
+#define NVERBSW  11
        { "noverbose", 0 },
-#define WATCSW  14
+#define WATCSW  12
        { "watch", 0 },
-#define NWATCSW  15
+#define NWATCSW  13
        { "nowatch", 0 },
-#define WIDTHSW  16
-       { "width columns", 0 },
-#define VERSIONSW  17
+#define VERSIONSW  14
        { "version", 0 },
-#define HELPSW  18
+#define HELPSW  15
        { "help", 0 },
        { NULL, 0 }
 };
@@ -58,7 +52,6 @@ extern int debugsw;  /* from sendsbr.c */
 extern int forwsw;
 extern int inplace;
 extern int pushsw;
-extern int unique;
 extern int verbsw;
 
 extern char *altmsg;  /*  .. */
@@ -117,13 +110,6 @@ main(int argc, char **argv)
                                pushsw = 0;
                                continue;
 
-                       case UNIQSW:
-                               unique++;
-                               continue;
-                       case NUNIQSW:
-                               unique = 0;
-                               continue;
-
                        case FORWSW:
                                forwsw++;
                                continue;
@@ -152,7 +138,6 @@ main(int argc, char **argv)
 
                        case ALIASW:
                        case FILTSW:
-                       case WIDTHSW:
                                vec[vecp++] = --cp;
                                if (!(cp = *argp++) || *cp == '-')
                                        adios(NULL, "missing argument to %s",