cobra icon indicating copy to clipboard operation
cobra copied to clipboard

[feature request] completion for --help/--version

Open silvioprog opened this issue 2 years ago • 1 comments

Hi.

It would be nice to allow the user to auto complete flags like --help, --version` etc.

For example, the git completion allows git --v[TAB] to auto complete to git --version.

TIA

silvioprog avatar Aug 23 '22 02:08 silvioprog

Agreed. I consider this a bug. I haven't looked at why the completion doesn't work for those flags but I feel it should.

marckhouzam avatar Aug 23 '22 11:08 marckhouzam