1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00
openbsd-src/sbin/newfs_ext2fs
cheloha d7259957e8 userspace: remove vestigial '?' cases from top-level getopt(3) loops
getopt(3) returns '?' when it encounters a flag not present in the in
the optstring or if a flag is missing its option argument.  We can
handle this case with the "default" failure case with no loss of
legibility.  Hence, remove all the redundant "case '?':" lines.

Prompted by dlg@.  With help from dlg@ and millert@.

Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2

ok naddy@ millert@ dlg@
2022-12-04 23:50:45 +00:00
..
extern.h Replace an ad-hoc implementation of opendev(), with said function and 2016-03-14 20:30:34 +00:00
Makefile
mke2fs.c Forgot to commit this patch. 2019-07-01 07:17:26 +00:00
newfs_ext2fs.8 man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
newfs_ext2fs.c userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00