1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 18:15:24 +02:00
tldr/pages/common/chronic.md

17 lines
529 B
Markdown
Raw Normal View History

# chronic
> Display `stdout` and `stderr` of a command if and only if it fails.
> More information: <https://manned.org/chronic>.
- Display `stdout` and `stderr` of the specified command if and only if it produces a non-zero exit code or crashes:
`chronic {{command}} {{option1 option2 ...}}`
- Display `stdout` and `stderr` of the specified command if and only if it produces a non-empty `stderr`:
`chronic -e {{command}} {{option1 option2 ...}}`
- Enable [v]erbose mode:
`chronic -v {{command}} {{option1 option2 ...}}`