5 ms·
It also has the advantage that it works with brace expansion to specify multiple values. --long={foo,bar} becomes --long=foo --long=bar
by jolmg 4y ago
It also has the advantage that it works with brace expansion to specify multiple values.
--long={foo,bar}
becomes
--long=foo --long=bar
- conaclos 4y agoWith bash/zsh the auto-completion seems missing for unknown options. While `--key file` supports auto-completion since file is just another parameter.
- kzrdude 4y agoThanks for teaching something useful!
- conaclos 4y agoActually you can expand any pattern: --option{X,Y} -> --optionX --optionY --option:{X,Y} -> --option:X --option:Y ...