remove unknown OPTIONS section name. Getopt returns -1.

This commit is contained in:
Philippe Charnier 2000-03-26 14:55:05 +00:00
parent 115a32af83
commit 846fef5834
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ the output and behavior of the asc scanner device.
When
.Nm
is called with no option only the current settings are reported.
.Sh OPTIONS
.Pp
The following options are available:
.Bl -tag -width indent
.It Fl s Bq ASC_SRESSW

View File

@ -85,7 +85,7 @@ main(int argc, char **argv)
if (argc == 0) usage();
while( (c = getopt(argc, argv, "sqf:b:r:w:h:t:")) != FAIL)
while( (c = getopt(argc, argv, "sqf:b:r:w:h:t:")) != -1)
{
switch(c) {
case 'f': file = optarg; break;