doc-strings of the 'command' built-in, as output by help

2024-11-25 Thread Andrew Davis
When running 'help command' in the shell, the output contains: > -vprint a description of COMMAND similar to the `type' builtin > -Vprint a more verbose description of each COMMAND This seems to be opposite to the actual behaviour of 'command', in which '-V' (capital V) produc

Re: doc-strings of the 'command' built-in, as output by help

2024-11-26 Thread Andrew Davis
On Mon, Nov 25, 2024 at 9:04 PM Martin D Kealey wrote: > > For both ‘command -v’ and ‘command -V’, there are no combinations of > options for ‘type’ that will produce the same output in all cases. > For executables, aliases, functions, built-ins, and keywords, the output of `command -V` (capital