davidchisnall / dtc

FreeBSD Device Tree Compiler
18 stars 17 forks source link

dtc: remove unknown option printf, since getopt will print it #63

Closed bcran closed 4 years ago

bcran commented 4 years ago

Since we don't set opterr to 0, getopt prints a message when it encounters an unknown/invalid option. We therefore don't need to print our own message in the default handler.