HomeClusterLabs Projects

Fix: tools: Improve crm_mon output with certain option combinations

Description

Fix: tools: Improve crm_mon output with certain option combinations

This refactors a new function get_resource_display_options() to use
the same logic to set the pe_print_options bitmask for plain, XML and HTML
output formats. The only behavioral changes this makes are:

  • If --show-detail and --as-html are both specified, clone details are now shown.
  • If --group-by-node, --inactive and --brief are all specified, an inactive

group will now correctly be displayed briefly rather than in long format.

Details

Provenance
kgaillotAuthored on Mar 18 2015, 12:02 PM
Parents
rPa5c5caa3ce8a: Fix: tools: make crm_mon last updated header consistent across formats
Branches
Unknown
Tags
Unknown

Event Timeline