2024-01-24 08:29:50 +01:00
|
|
|
# chronic
|
|
|
|
|
|
|
|
> Display `stdout` and `stderr` of a command if and only if it fails.
|
2025-03-28 05:26:23 +02:00
|
|
|
> More information: <https://manned.org/chronic>.
|
2024-01-24 08:29:50 +01:00
|
|
|
|
|
|
|
- Display `stdout` and `stderr` of the specified command if and only if it produces a non-zero exit code or crashes:
|
|
|
|
|
2025-05-03 05:57:20 +03:00
|
|
|
`chronic {{command}} {{option1 option2 ...}}`
|
2024-01-24 08:29:50 +01:00
|
|
|
|
|
|
|
- Display `stdout` and `stderr` of the specified command if and only if it produces a non-empty `stderr`:
|
|
|
|
|
2025-05-03 05:57:20 +03:00
|
|
|
`chronic -e {{command}} {{option1 option2 ...}}`
|
2024-01-24 08:29:50 +01:00
|
|
|
|
|
|
|
- Enable [v]erbose mode:
|
|
|
|
|
2025-05-03 05:57:20 +03:00
|
|
|
`chronic -v {{command}} {{option1 option2 ...}}`
|