a couple of utilities for go's flag package