From b4f6efcf698f1adc6fc59f3e544606cb6e63f586 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 25 May 1992 23:02:13 +0000 Subject: [PATCH] Formerly main.c.~45~ --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 81dbfdd..e0a274a 100644 --- a/main.c +++ b/main.c @@ -1039,7 +1039,8 @@ decode_switches (argc, argv) { long_options[i].name = (switches[i].long_name == 0 ? "" : switches[i].long_name); - *p++ = switches[i].c; + long_options[i].flag = 0; + *p++ = long_options[i].val = switches[i].c; switch (switches[i].type) { case flag: -- 2.7.4