Add Set() method for pflag package