git: sh: Add do-nothing -h option.

看板DFBSD_commit作者時間14年前 (2011/08/22 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 6156762f185f79cd885c6fa90d6af9ab20acb891 Author: Peter Avalos <pavalos@dragonflybsd.org> Date: Sun Aug 21 14:52:20 2011 -0700 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 Summary of changes: bin/sh/options.h | 8 +++++--- bin/sh/sh.1 | 6 +++++- 2 files changed, 10 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6156762f185f79cd885c6fa90d6af9ab20acb891 -- DragonFly BSD source repository
文章代碼(AID): #1EKPnA8M (DFBSD_commit)