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 29, 2024
1 parent eed109c commit 7106039
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 @@ -3612,6 +3612,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 @@ -3621,6 +3627,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 7106039

Please sign in to comment.