HomeClusterLabs Projects

Feature: tools: List all RCs if none are specified for crm_error

Description

Feature: tools: List all RCs if none are specified for crm_error

Currently we print a help message and throw a usage error if neither the
-l option nor a result code is given on the crm_error command line. It
feels nicer to print a list by default if no specific result codes are
requested.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Aug 27 2022, 9:44 PM
Parents
rP975b55fff643: Refactor: tools: Remove main-scope rc variable in crm_error
Branches
Unknown
Tags
Unknown