pflag icon indicating copy to clipboard operation
pflag copied to clipboard

fix: correct argument length check in FlagSet.Parse

Open ShawnJeffersonWang opened this issue 7 months ago • 1 comments

The previous check len(arguments) < 0 was meaningless because the length of a slice cannot be negative. And format comments for better readability (automatic format)

ShawnJeffersonWang avatar Jul 23 '24 07:07 ShawnJeffersonWang