Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For custom commands help exits with Error: EEXIT: 0 #589

Closed
jayree opened this issue Sep 1, 2020 · 0 comments · Fixed by oclif/errors#157
Closed

For custom commands help exits with Error: EEXIT: 0 #589

jayree opened this issue Sep 1, 2020 · 0 comments · Fixed by oclif/errors#157
Labels
bug Issue or pull request that identifies or fixes a bug

Comments

@jayree
Copy link

jayree commented Sep 1, 2020

Summary

For custom commands like hello:org help exits with error e.g.:
sfdx hello:org -h exits with › Error: EEXIT: 0 › Code: EEXIT
while sfdx hello:org --help or sfdx hello -h is working fine

Steps To Reproduce:

Used https://github.com/forcedotcom/salesforcedx-docker to validate the following steps

  1. mkdir plugin
  2. cd plugin
  3. npm install -g yarn
  4. sfdx plugins:generate
  5. yarn prepack
  6. sfdx plugins:link .
  7. sfdx hello:org -h exits with › Error: EEXIT: 0 › Code: EEXIT
  8. sfdx hello:org --help exists without error

Expected result

sfdx hello:org -h exits without error

Actual result

sfdx hello:org -h exits with › Error: EEXIT: 0 › Code: EEXIT
while sfdx hello:org --help or sfdx hello -h exits without error

Additional information

sfdx-cli/7.72.0-697e9faee2 darwin-x64 node-v12.18.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants