Revert "printf(1): don't use getopt"
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 20 Aug 2009 16:28:56 +0000 (09:28 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 20 Aug 2009 16:28:56 +0000 (09:28 -0700)
commitd61bf633159588699c95f84c439c17a05a656aef
tree6535d87e0f2ceb5cd0ba836cabe154782cd53db6
parent5dfe6aebc03cb32d7d110068a0138a8367d7d977
Revert "printf(1): don't use getopt"

This reverts commit 8a65ba3d8f8a805773a99458f6f18f034ad84d57.

printf.c is included by /bin/sh, and the internalized version is
used by apropos which passes it '-- fmt ...'.  FreeBSD and NetBSD
and probably others use getopt().  We have to too or we break --
use.
usr.bin/printf/printf.c