Since we use getopt (in rev. 1.12), there's no need for the case's for
the individual options to increment argv and decrement argc. This caused the -T option to swallow an extra argument. PR: 27982 Submitted by: Samuel Greear <sgreear@vsni.com>
This commit is contained in:
parent
31fb466194
commit
33d3b9f878
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77929
@ -191,8 +191,6 @@ main(argc, argv)
|
|||||||
}
|
}
|
||||||
Tflag = 1;
|
Tflag = 1;
|
||||||
lastlevel = '?';
|
lastlevel = '?';
|
||||||
argc--;
|
|
||||||
argv++;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'u': /* update /etc/dumpdates */
|
case 'u': /* update /etc/dumpdates */
|
||||||
|
Loading…
Reference in New Issue
Block a user