Re:Use long flags when scripting (2013)
by zbuf on Friday September 18, 2020 @03:01PM
(#24520652)
> Some command-line parsers will auto-complete partial options
This sort of behaviour is tortuous, and should be against international laws.
Where _adding_ new, unrelated, options to the interface now changes or breaks the behaviour of existing calling scripts. Plus you never know which abbreviations are in use in the wild.
It makes it virtually impossible to maintain a stable interface without just freezing it long-hand.
I found this in Perl code; I believe it might be the default behaviour in the standard parser? Our developer really did like the philosophy that "the user may want 50 different ways to express the same thing".
This sort of behaviour is tortuous, and should be against international laws.
Where _adding_ new, unrelated, options to the interface now changes or breaks the behaviour of existing calling scripts. Plus you never know which abbreviations are in use in the wild.
It makes it virtually impossible to maintain a stable interface without just freezing it long-hand.
I found this in Perl code; I believe it might be the default behaviour in the standard parser? Our developer really did like the philosophy that "the user may want 50 different ways to express the same thing".