pflag icon indicating copy to clipboard operation
pflag copied to clipboard

Return an error if the same flag is provided twice with different values

Open ncw opened this issue 8 years ago • 5 comments

In ncw/rclone#506 a user is rightly complaining about the fact that two --exclude flags don't work in rclone and it didn't warn him.

Could pflag return an error if you provide the same flag twice with different values?

Thanks

Nick

ncw avatar May 30 '16 20:05 ncw