{ "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 }
};
extern int forwsw;
extern int inplace;
extern int pushsw;
-extern int unique;
extern int verbsw;
extern char *altmsg; /* .. */
pushsw = 0;
continue;
- case UNIQSW:
- unique++;
- continue;
- case NUNIQSW:
- unique = 0;
- continue;
-
case FORWSW:
forwsw++;
continue;
case ALIASW:
case FILTSW:
- case WIDTHSW:
vec[vecp++] = --cp;
if (!(cp = *argp++) || *cp == '-')
adios(NULL, "missing argument to %s",
for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap;
ap++) {
vec[vecp++] = "-alias";
- vec[vecp++] = *ap;
+ vec[vecp++] = getcpy(etcpath(*ap));
}
}
vec[vecp++] = "-dist";
distfile = getcpy(m_mktemp2(altmsg, invo_name, NULL, NULL));
if (link(altmsg, distfile) == NOTOK) {
- if (errno != EXDEV
-#ifdef EISREMOTE
- && errno != EISREMOTE
-#endif /* EISREMOTE */
- )
+ if (errno != EXDEV)
adios(distfile, "unable to link %s to",
altmsg);
free(distfile);