Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue: fix help cmd incorrect behavior
This fixes the issue of incorrect behavior when requesting help for an unknown command in the CUE CLI. 1. Modified the `newHelpCmd` function to handle unknown commands correctly. 2. When an unknown `cue help` commands are entered, an error message is displayed and the program exits with a non-zero status code. 3. This ensures that the CLI behaves as expected and provides useful feedback to the user when an unknown command is entered. Fixes #2560 Signed-off-by: nnnkkk7 <kurodanaoki0711pana@gmail.com> Signed-off-by: nnnkkk7 <kurodanaoki0711pana@gmail.com>
- Loading branch information