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
{{ message }}
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
When a CLI command fails, it prints the error message to stdout when it probably should print it to stderr.
Affected product area (please put an X in all that apply)
(x) CLI
Expected behavior
Error messages should be printed to stderr
Steps to reproduce the bug
# Error from native command
$ tanzu plugin delete
Error: must provide plugin name as positional argument
✖ must provide plugin name as positional argument
# Redirect stderr from native cmd, final error is still seen on stdout
$tanzu plugin delete 2> /dev/null
✖ must provide plugin name as positional argument
Version (include the SHA if the version is not obvious)
Bug description
When a CLI command fails, it prints the error message to stdout when it probably should print it to stderr.
Affected product area (please put an X in all that apply)
Expected behavior
Error messages should be printed to stderr
Steps to reproduce the bug
Version (include the SHA if the version is not obvious)
Latest
main
branch: f297f62Environment where the bug was observed (cloud, OS, etc)
Locally
The text was updated successfully, but these errors were encountered: