Skip to content

Commit 393fea9

Browse files
chore: update comments
1 parent bc27899 commit 393fea9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cliv2/pkg/core/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ func handleError(err error) HandleError {
418418
if commandError {
419419
resultError = handleErrorFallbackToLegacyCLI
420420
} else if flagError {
421-
// handle flag errors explicitly since we need to delegate the help to the legacy CLI. This includes disabling the cobra default help/usage
421+
// handle flag errors explicitly via help(): user-doc markdown when available, otherwise Cobra help
422422
resultError = handleErrorShowHelp
423423
}
424424
}

0 commit comments

Comments
 (0)