Add a (q)uit option to the subr_blist test program.
Approved by: kib (mentor) Differential Revision: https://reviews.freebsd.org/D20234
This commit is contained in:
parent
6144b50f8b
commit
d4808c4403
@ -1148,13 +1148,18 @@ main(int ac, char **av)
|
||||
"f %x %d -free\n"
|
||||
"l %x %d -fill\n"
|
||||
"r %d -resize\n"
|
||||
"h/? -help"
|
||||
"h/? -help\n"
|
||||
"q -quit"
|
||||
);
|
||||
break;
|
||||
case 'q':
|
||||
break;
|
||||
default:
|
||||
printf("?\n");
|
||||
break;
|
||||
}
|
||||
if (buf[0] == 'q')
|
||||
break;
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user