CLI bug / ommitted subcommands

I would expect a list of the subcommands whenever I have mistyped a subcommand (like with -help).

Actual output (1)

$ vlt secrets list
Usage: vlt secrets <subcommand> [options]

  Lists all active secrets within the an app,
  if no subcommand is specified.

Options:

  --organization string, -o string     HCP Organization that the App is in
  --project string, -p string          HCP Project that the App is in
  --app-name string, -a string         The App that the secret is in
  --format string, -f string           The output format you would like (json)

Expected output (1)

$ vlt secrets list
Usage: vlt secrets <subcommand> [options]

  Lists all active secrets within the an app,
  if no subcommand is specified.

Options:

  --organization string, -o string     HCP Organization that the App is in
  --project string, -p string          HCP Project that the App is in
  --app-name string, -a string         The App that the secret is in
  --format string, -f string           The output format you would like (json)

Subcommands:
    create      creates a secret in an app
    delete      deletes a secret in the app
    get         retrieves a secret in an app
    update      updates a secret in an app
    versions    gets version information about a secret

Actual output (2)

$ vlt apps bla
Usage: vlt apps <subcommand> [options]

  Lists all active apps within the organization,
  if no subcommand is specified.

Options:

  --organization string, -o string  HCP Organization that the App is in
  --project string, -p string       HCP Project that the App is in
  --format string, -f string           The output format you would like (json)

Expected output (2)

$ vlt apps bla
Usage: vlt apps <subcommand> [options]

  Lists all active apps within the organization,
  if no subcommand is specified.

Options:

  --organization string, -o string  HCP Organization that the App is in
  --project string, -p string       HCP Project that the App is in
  --format string, -f string           The output format you would like (json)

Subcommands:
    create    Creates a new app in the project
    delete    Creates a new app in the project
    get       Returns an app in the project
    update    Updates an app description in the project

Where some of the vertical alignment is also a bit off.
I would gladly submit a PR if given access to the repo.

Thank you for the feedback Chris. That’s a fair one. Will incorporate it! cc: @leland.ursu