• Rob Pike's avatar
    flags: allow distinct sets of flags. · f4fe688b
    Rob Pike authored
    A FlagSet is an independent set of flags that may be used,
    for example, to provide flag processing for subcommands
    in a CLI.  The standard, os.Args-derived set of flags is a
    global but non-exported FlagSet and the standard functions
    are wrappers for methods of that FlagSet.
    
    Allow the programmer to control whether the program
    exits if there is a parse error.  For the default set, the behavior
    remains to exit on error.
    
    The handling of Usage is odd due to backward compatibility.
    
    R=golang-dev, bradfitz, r, bradfitz
    CC=golang-dev
    https://golang.org/cl/4517092
    f4fe688b
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...