aboutsummaryrefslogtreecommitdiffstats
path: root/sos.conf
diff options
context:
space:
mode:
authorJake Hunsaker <jacob.r.hunsaker@gmail.com>2024-05-07 12:48:56 -0400
committerJake Hunsaker <jacob.r.hunsaker@gmail.com>2024-05-13 10:34:00 -0400
commit00a7f9aa1bc0199ae86bae1f348a196555b6411d (patch)
tree85c0702cba5440da0a6913647a21c9d042f0c2a9 /sos.conf
parentf96de7f2ce16023924a876d60cacdb1733d9768a (diff)
downloadsos-00a7f9aa1bc0199ae86bae1f348a196555b6411d.tar.gz
[Plugins, Options] Standardized PluginOpt names to use dashes
This commit standardizes the use of dashes/hypens (`-`) for the names of PluginOpts. This is done to conform with argparse formatting so that the formating of options names is consistent across sos global options, component options, and now plugin options. For example, the `networking` plugin's `namespace_pattern` option is now `namespace-pattern` and should now be specified via the `--plugin-option networking.namespace-pattern=foo` syntax. Similarly, developers will now need to use `Plugin.get_option('namespace-pattern')` in order to reference it. Note that the use of global options within plugins (for example `--all-logs`) is unchanged, meaning that users will continue to use `--all-logs` and due to how these options get stored, developers would still use `Plugin.get_option('all_logs')`. Signed-off-by: Jake Hunsaker <jacob.r.hunsaker@gmail.com>
Diffstat (limited to 'sos.conf')
0 files changed, 0 insertions, 0 deletions