Edit

IABSD.fr/src/usr.bin/look

Branch :

  • Show log

    Commit

  • Author : cheloha
    Date : 2022-12-04 23:50:45
    Hash : d7259957
    Message : 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@