You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixing the incorrect error code even when CLI exits correctly (#1151)
## Why make this change?
- Closes#1150
- ErrorCode -1 is being returned when a command other than specified in dab is used, like --version, --help
## What is this change?
- Options `--help` generates `ErrorType.HelpRequestedError` and `ErrorType.HelpVerbRequestedError` while `--version` generates `ErrorType.VersionRequestedError`.
- While parsing we specifically looked if these error types are produced and marked them with exit code 0.
## How was this tested?
- [x] manually
- [x] unit tests
## Sample Request(s)

0 commit comments