[go-nuts] Re: cmdline--improve Golang std.flag based on Go src v1.7

2016-08-19 Thread Ally Dale
[root@localhost ~]# rm --help Usage: rm [OPTION]... FILE... Remove (unlink) the FILE(s). -f, --force ignore nonexistent files, never prompt -r, -R, --recursive remove directories and their contents recursively -v, --verbose explain what is being done ... By default, rm

[go-nuts] Re: cmdline--improve Golang std.flag based on Go src v1.7

2016-08-18 Thread Hotei
I assume you're aware it's valid to have two initializers for the same variable.? I often use -v and -verbose to both modify flagVerbose. var flagVerbose bool func init() { boolVar(,"v" boolVar( "verbose" } Other than that I don't see what your package is actually enhancing over