X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fali.c;h=73f716685b6f68002a1c68dff8f35922c4deb15d;hb=ac2834b4173be67edde1334819d3d3c16e4d484e;hp=3d450d7244f5d603ebf42df1bd6d05b2a9d9aa53;hpb=9f9bfa91d88b3ca4cd9206c1f2b17c6d13ebcaba;p=mmh diff --git a/uip/ali.c b/uip/ali.c index 3d450d7..73f7166 100644 --- a/uip/ali.c +++ b/uip/ali.c @@ -9,7 +9,6 @@ #include #include #include -#include #include /* @@ -35,7 +34,7 @@ static struct swit switches[] = { #define NUSERSW 7 { "nouser", 0 }, #define VERSIONSW 8 - { "version", 0 }, + { "Version", 0 }, #define HELPSW 9 { "help", 0 }, { NULL, 0 } @@ -69,7 +68,6 @@ main(int argc, char **argv) /* read user profile/context */ context_read(); - mts_init(invo_name); arguments = getarguments(invo_name, argc, argv, 1); argp = arguments; @@ -132,7 +130,7 @@ main(int argc, char **argv) char *dp = NULL; for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) - if ((i = alias(*ap)) != AK_OK) + if ((i = alias(etcpath(*ap))) != AK_OK) adios(NULL, "aliasing error in %s - %s", *ap, akerror(i)); if (dp) free(dp);