Skip to content

Commit

Permalink
Dev: doc: Update crm.8.adoc
Browse files Browse the repository at this point in the history
To mention if no property is specified, all properties will be printed.
Also, add a note to mention that use --help to print help text for each
property.
  • Loading branch information
liangxin1300 committed Dec 31, 2024
1 parent 2612df5 commit ba10b29
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/crm.8.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3513,6 +3513,12 @@ When setting the +maintenance-mode+ property, it will
inform the user if there are nodes or resources that
have the +maintenance+ property.

If no property name is passed to the command, the list of known
cluster properties is printed.

To print one property's help, use the +--help+ option; Or use <Tab>
to complete the help text for the property on interactive mode.

For more information on rule expressions, see
<<topics_Syntax_RuleExpressions,Syntax: Rule expressions>>.

Expand All @@ -3522,6 +3528,7 @@ property [<set_id>:] [rule ...] <option>=<value> [<option>=<value> ...]
...............
Example:
...............
property stonith-enabled --help
property stonith-enabled=true
property rule date spec years=2014 stonith-enabled=false
...............
Expand Down

0 comments on commit ba10b29

Please sign in to comment.