transformer
transformer copied to clipboard
Are USAGE and HELP command line return codes correct?
Ref:
/org.eclipse.transformer.cli/src/main/java/org/eclipse/transformer/cli/TransformerCLI.java
// TODO: Are the USAGE and HELP return codes correct?
if ((getArgs().length == 0) || hasOption(AppOption.USAGE)) {
usage(getSystemOut());
return logResult(ResultCode.SUCCESS_RC);
} else if (hasOption(AppOption.HELP)) {
help(getSystemOut());
return logResult(ResultCode.SUCCESS_RC);
}
This seems related to #295.
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.
This issue has been automatically closed due to inactivity. If you can reproduce this or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request.