Expand description
The exit statuses datui ends with: the binary returns these, and every manpage’s
EXIT STATUS section is rendered from STATUSES.
Structs§
- Status
- One status and what it means.
Constants§
- FAILURE
- An error: a path that is not there, a configuration that cannot be used, nothing
on standard input for
-, or a command that failed. - HANGUP
- The session was ended by SIGHUP: 128 + 1, as if it had not been caught.
- INTERRUPTED
- The session was ended by SIGINT: 128 + 2.
- STATUSES
- Every status, in order.
- SUCCESS
- It did what was asked: the session was quit, or a command succeeded.
- TERMINATED
- The session was ended by SIGTERM: 128 + 15.
- USAGE
- The command line was wrong: an unknown option, or a value an option does not take. clap’s own status for a usage error.