Reference

crm_error(8)

Part of the Pacemaker cluster resource manager

NAME

Pacemaker - Part of the Pacemaker cluster resource manager

SYNOPSIS

crm_error [options] -- <rc> [...]

DESCRIPTION

crm_error - display name or description of a Pacemaker error code

OPTIONS

Help Options:

-h, --help

Show help options

--help-all

Show all help options

--help-output

Show output help

Output Options:

--output-as=FORMAT

Specify output format as one of: text (default), xml

--output-to=DEST

Specify file name for output (or "-" for stdout)

Application Options:

-$, --version

Display software version and exit

-V, --verbose

Increase debug output (may be specified multiple times)

-n, --name

Show error's name with its description (useful for looking for sources of the error in source code)

-l, --list

Show all known errors (enabled by default if no rc is specified)

-X, --exit

Interpret as exit code rather than legacy function return value

-r, --rc

Interpret as return code rather than legacy function return value

AUTHOR

Written by Andrew Beekhof and the Pacemaker project contributors

REPORTING BUGS

Report bugs to https://bugs.clusterlabs.org/enter_bug.cgi?product=Pacemaker

History

--exit since Debian 10 (Buster); --help-all since Debian 12 (Bookworm); --help-output since Debian 12 (Bookworm); --output-as since Debian 12 (Bookworm); --output-to since Debian 12 (Bookworm); --rc since Debian 11 (Bullseye); -X since Debian 10 (Buster); -h since Debian 11 (Bullseye); -r since Debian 11 (Bullseye).

--text-fancy until Debian 12 (Bookworm); -? until Debian 10 (Buster).