Compare commits

..

2 Commits

Author SHA1 Message Date
5152fd778c Bump version to 0.2.0 2022-12-30 21:51:13 -05:00
f557706885 Add support for text/regex based attributes 2022-12-30 21:46:49 -05:00

View File

@ -192,7 +192,7 @@ class Icinga2ConfAction(argparse.Action):
# TODO: this seems a bit more hacky than it needs to be
choices = parser._subparsers._group_actions[0].choices
for subname, subparser in choices.items():
print(f'object CheckCommand "{command_name}_{subname}" {{')
print(f'object CheckCommand "{command_name}" {{')
print(
f' command = [ PluginContribDir + "/{command_path}", "{subname}" ]'
)