https://bugs.kde.org/show_bug.cgi?id=481272

--- Comment #8 from Andrew Shark <ash...@linuxcomp.ru> ---
I have explored what happened.

The OpenSuse Leap 15.5  uses perl 5.26.1.
That perl version  uses GetOpt::Long 2.49 specification:

perl -MGetopt::Long -e 'print $Getopt::Long::VERSION, "\n";'
2.49

Here is the doc for this specification:
https://perldoc.perl.org/5.26.1/Getopt::Long

It can be seen that this spec already supports such specification of number of
args:
> It is also possible to specify the minimal and maximal number of arguments an 
> option takes. foo=s{2,4} indicates an option that takes at least two and at 
> most 4 arguments. foo=s{1,} indicates one or more values; foo:s{,} indicates 
> zero or more option values.

The issue appeared after introducing the short version of option as exclamation
mark in this commit:
https://invent.kde.org/sdk/kdesrc-build/-/commit/5b155c5e29dd2d377fd1f84fb42d0e629a9f368b#9cca8ad07f12b7b754bac5e08c4e360e4c8ab1a3_448_460

This was half of year ago, and nobody complained. Because newer versions of
perl allow exclamation mark. This proves nobody uses outdated distros like
OpenSuse Leap for development.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to