]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly main.c.~45~
authorRoland McGrath <roland@redhat.com>
Mon, 25 May 1992 23:02:13 +0000 (23:02 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 25 May 1992 23:02:13 +0000 (23:02 +0000)
main.c

diff --git a/main.c b/main.c
index 81dbfdd6228433234290590cdb2ab1c55661fe89..e0a274aa1a076036378399aebadbaedda7d88b21 100644 (file)
--- 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: