Skip to content

Commit 95515cd

Browse files
authored
Merge pull request #6 from recyard/master
end getopt parsing on first non-option argument
2 parents a0b002c + 9ccb1d5 commit 95515cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

retry.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ int main (int argc, char **argv)
410410
long int d = 0;
411411
long int times = DEFAULT_TIMES;
412412

413-
while ((c = getopt_long(argc, argv, "d:m:t:u:w:hv", long_options, NULL)) != -1) {
413+
while ((c = getopt_long(argc, argv, "+d:m:t:u:w:hv", long_options, NULL)) != -1) {
414414

415415
switch (c)
416416
{

0 commit comments

Comments
 (0)