cobra icon indicating copy to clipboard operation
cobra copied to clipboard

Alias not shown in root help

Open akshaybabloo opened this issue 3 years ago • 5 comments

This issue is related to #633.

For example:

> someTool --help

Available Commands:
  help        Help about any command
  target      Print the version number of Hugo

> someTool target --help

Usage:
  nvmefc target [command]

Aliases:
  target, t, tar

Available Commands:
  list        Print the version number of Hugo

I would be nice to have an output something like:

Available Commands:
  help                 Help about any command
  target (t, tar)      Print the version number of Hugo

akshaybabloo avatar Apr 10 '21 03:04 akshaybabloo