4 ms·
> Some command-line parsers will auto-complete partial options This sort of behaviour is tortuous, and should be against international laws. Where _adding_ ne
by zbuf 6y ago
> 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".