X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fali.c;h=b5bbfbe3a9704cbeb5612dc88bfaa6a3c6086714;hp=8907e69fcb1830692f0416fe512880a18a55f727;hb=ccf4f175ef4c4e7522f9510a4a1149c15d810dd9;hpb=556e1267b7be84fd25c2d52aa754d623889d52ac diff --git a/uip/ali.c b/uip/ali.c index 8907e69..b5bbfbe 100644 --- a/uip/ali.c +++ b/uip/ali.c @@ -9,7 +9,6 @@ #include #include #include -#include #include /* @@ -25,17 +24,17 @@ static struct swit switches[] = { #define LISTSW 2 { "list", 0 }, #define NLISTSW 3 - { "nolist", 0 }, + { "nolist", 2 }, #define NORMSW 4 { "normalize", 0 }, #define NNORMSW 5 - { "nonormalize", 0 }, + { "nonormalize", 2 }, #define USERSW 6 { "user", 0 }, #define NUSERSW 7 - { "nouser", 0 }, + { "nouser", 2 }, #define VERSIONSW 8 - { "version", 0 }, + { "Version", 0 }, #define HELPSW 9 { "help", 0 }, { NULL, 0 } @@ -61,15 +60,12 @@ main(int argc, char **argv) char *vec[NVEC], **arguments; struct aka *ak; -#ifdef LOCALE setlocale(LC_ALL, ""); -#endif invo_name = mhbasename(argv[0]); /* read user profile/context */ context_read(); - mts_init(invo_name); arguments = getarguments(invo_name, argc, argv, 1); argp = arguments;