mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
622 B
Plaintext
22 lines
622 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 ...}}`
|