Makes command line flags more posix-esque.

Replaces the standard "flag" package with ogier's "pflag" package and
updates some flags so as to make execution prettier.