[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
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