3 ms·
Gosh TOPS-20 had this back in the early 1980s (and this is why bash has readline...)
by gumby 8y ago
Gosh TOPS-20 had this back in the early 1980s (and this is why bash has readline...)
- DonHopkins 8y agoYet there's no standard way for system and user programs to expose their parameters and help to the command line, like most TOPS-20 programs did. So bash's completion and help facilities pale in comparison.
- gumby 8y agoIndeed Don, why don't you extend gnu getopt to generate a special ELF section with an argument grammar and then modify bash to load this section? Shouldn't take too long and then this feature would become automatic!
- DonHopkins 8y agoAccessibility demands Tourette Syndrome Compatible noise word support.
- gumby 8y agoI am sure that can be controlled by $LOCALE
- jodrellblank 8y agoPowerShell has this; all cmdlet parameters are parsed by the PowerShell environment, so you don't have to write argument parsing code over and over; parameters to cmdlets are a standard form with many using the same common names where it makes sense. Because of that design they are long and readable words but tab completable, and ctrl-space will bring up a menu of available matches starting with what you've typed so far.