oclif / core

Node.js Open CLI Framework. Built by Salesforce.

Home Page:https://oclif.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single Command CLI symbol display on the help output when the command fails

Domix24 opened this issue · comments

Describe the bug
The single command CLI symbols is showing on the help output when the single commands fails,
example: a single command with a required argument not specified or invalid flag combinaison (

To Reproduce
Steps to reproduce the behavior:

  1. Switch any project into single-cli-mode (setup the oclif config as such)
  2. With the bin/dev.js, make the command fail
  3. See error

Expected behavior
The same behavior as the --help flag

Screenshots
With the --help flag
with --help
Without the help flag and without a required argument (directory in my case)
without --help