[BACK]Return to arguments.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/arguments.c between version 1.27 and 1.28

version 1.27, 2019/07/09 14:03:12 version 1.28, 2020/03/17 16:02:38
Line 75 
Line 75 
   
         optreset = 1;          optreset = 1;
         optind = 1;          optind = 1;
           optarg = NULL;
   
         while ((opt = getopt(argc, argv, template)) != -1) {          while ((opt = getopt(argc, argv, template)) != -1) {
                 if (opt < 0)                  if (opt < 0)
Line 84 
Line 85 
                         return (NULL);                          return (NULL);
                 }                  }
                 args_set(args, opt, optarg);                  args_set(args, opt, optarg);
                   optarg = NULL;
         }          }
         argc -= optind;          argc -= optind;
         argv += optind;          argv += optind;

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28