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

Peter Avalos pavalos at crater.dragonflybsd.org
Sun Aug 21 16:33:32 PDT 2011


commit 6156762f185f79cd885c6fa90d6af9ab20acb891
Author: Peter Avalos <pavalos at 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





More information about the Commits mailing list