Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.