X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fflist.c;fp=uip%2Fflist.c;h=ac680806ee8e5a4c0f4175f918a2d3702bfe4780;hp=71ae8e85aba5e26e51c9d1a0ff9e861c286d39ff;hb=ea21fe2c4bd23c639bef251398fae809875732ec;hpb=00140a3c86e9def69d98ba2ffd4d6e50ef6326ea diff --git a/uip/flist.c b/uip/flist.c index 71ae8e8..ac68080 100644 --- a/uip/flist.c +++ b/uip/flist.c @@ -47,13 +47,9 @@ static struct swit switches[] = { { "fast", 0 }, #define NOFASTSW 10 { "nofast", 0 }, -#define TOTALSW 11 - { "total", -5 }, -#define NOTOTALSW 12 - { "nototal", -7 }, -#define VERSIONSW 13 +#define VERSIONSW 11 { "Version", 0 }, -#define HELPSW 14 +#define HELPSW 12 { "help", 0 }, { NULL, 0 } }; @@ -87,7 +83,7 @@ static int all = FALSE; /* scan all folders in top level? */ static int alphaOrder = FALSE; /* want alphabetical order only */ static int recurse = FALSE; /* show nested folders? */ static int showzero = TRUE; /* show folders even if no messages in seq? */ -static int Total = TRUE; /* display info on number of messages in +static int fastsw = FALSE; /* display info on number of messages in * sequence found, and total num messages */ static char curfol[BUFSIZ]; /* name of the current folder */ @@ -199,14 +195,11 @@ main(int argc, char **argv) alphaOrder = FALSE; break; - case NOFASTSW: - case TOTALSW: - Total = TRUE; - break; - case FASTSW: - case NOTOTALSW: - Total = FALSE; + fastsw = TRUE; + break; + case NOFASTSW: + fastsw = FALSE; break; case RECURSE: @@ -534,7 +527,7 @@ PrintFolders(void) unsigned int maxfolderlen = 0, maxseqlen = 0; int maxnum = 0, maxseq = 0; - if (!Total) { + if (fastsw) { for (i = 0; i < nFolders; i++) printf("%s\n", folders[i].name); return;