mirror of https://github.com/mkerrisk/man-pages
getopt.3: Ensure that 'nsecs' is used
Reported-by: Jonny Grant <jg@jguk.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d2d136f7e1
commit
26f418daaf
|
@ -413,7 +413,8 @@ main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
printf("flags=%d; tfnd=%d; optind=%d\\n", flags, tfnd, optind);
|
||||
printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\\n",
|
||||
flags, tfnd, nsecs, optind);
|
||||
|
||||
if (optind >= argc) {
|
||||
fprintf(stderr, "Expected argument after options\\n");
|
||||
|
|
Loading…
Reference in New Issue