mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 19:11:25 +01:00
fix(output): always report warnings on stderr
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
3 files changed
+10
-8
No files matched your search
@@ -298,7 +298,8 @@ of printing nothing. See `tea help formatting`.
|
||||
When stdout is not a terminal, lists print tab-separated values without header,
|
||||
color or links, with times in RFC 3339 UTC, and a `--page` hint goes to stderr;
|
||||
prefer `--json` in scripts. Commands that change resources report each change on
|
||||
stderr only on a terminal. Create commands print the URL of the new resource on
|
||||
stderr only on a terminal; warnings, such as a step that was skipped or failed,
|
||||
always go to stderr. Create commands print the URL of the new resource on
|
||||
stdout, so `url=$(tea issue create …)` works; other changes print nothing when
|
||||
piped. Bodies are rendered as Markdown only on a terminal (`tea config set
|
||||
markdown raw` turns this off). See `tea help formatting` for the terminal layout.
|
||||
|
||||
Reference in new issue
Block a user