skorotkov commented on code in PR #12349: URL: https://github.com/apache/ignite/pull/12349#discussion_r2366712869
########## docs/_docs/tools/control-script.adoc: ########## @@ -1308,42 +1309,68 @@ control.sh --property list tab:Windows[] [source,shell] ---- -control.bat --property list +control.bat --property list ---- -- -You can set property value with `--property set` command. For example, to enable or disable SQL statistics in cluster use, specify `ON`, `OFF`, or `NO_UPDATE` values: +=== Getting a Property +To view the current value of a property, use: [tabs] -- tab:Unix[] [source,shell] ---- -control.sh --property set --name 'statistics.usage.state' --val 'ON' +control.sh --property get --name <propertyName> ---- tab:Windows[] [source,shell] ---- -control.bat --property set --name 'statistics.usage.state' --val 'ON' +control.bat --property get --name <propertyName> ---- -- -You can also get property value with `--property get` command. For example: +=== Setting a Property +To change a property value, use: [tabs] -- tab:Unix[] [source,shell] ---- -control.sh --property get --name 'statistics.usage.state' +control.sh --property set --name <propertyName> --val <value> ---- tab:Windows[] [source,shell] ---- -control.bat --property get --name 'statistics.usage.state' +control.bat --property set --name <propertyName> --val <value> ---- -- +NOTE: Available values depend on the property. Review Comment: > NOTE: Available values depend on the property. > For example, SQL statistics use `ON|OFF|NO_UPDATE`, while connection properties use `true|false`. I would replace here 'SQL statistics' and Cluster connection properties' with links to the corresponding sections. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
