sh: Add do-nothing -h option.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 21:52:20 +0000 (14:52 -0700)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 21:52:20 +0000 (14:52 -0700)
commit6156762f185f79cd885c6fa90d6af9ab20acb891
treebc3ea31127273bacba269f1f69258e2ea16f4322
parent21f23b600b1633d7eea0f62ce0ad54fddf497728
sh: Add do-nothing -h option.

POSIX requires a -h option to sh and set, to locate and remember
utilities invoked by functions as they are defined. Given that this
locate-and-remember process is optional elsewhere, it seems safe enough
to make this option do nothing.

POSIX does not specify a long name for this option. Follow ksh in
calling it "trackall".

Obtained-from:   FreeBSD 223281
bin/sh/options.h
bin/sh/sh.1