Skip to content

Commit 1828c5c

Browse files
committed
fix: add options for small user help message
1 parent 28bdb17 commit 1828c5c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

mamonsu/lib/parser.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
Options:
1919
--add-plugins <directory>
2020
21-
2221
Export zabbix keys for native zabbix-agent:
2322
Command: export zabbix-parameters
2423
Examples:
@@ -172,11 +171,14 @@ def print_help(self):
172171
Options:
173172
-c, --config <file>
174173
-p, --pid <pid-file>
174+
-t, --template-name <template name>
175+
-a, --add-plugins <directory>
175176
176177
Export example config with default variables:
177178
Command: export
178179
Examples:
179180
{prog} export config <file>
181+
--add-plugins <directory>
180182
181183
182184
Export zabbix template with additional plugins included in config file:
@@ -185,8 +187,9 @@ def print_help(self):
185187
{prog} export template <file>
186188
Options:
187189
--config <file>
188-
-t <template name>
190+
--template-name <template name>
189191
--application <application name in template>
192+
--add-plugins <directory>
190193
191194
192195
Export zabbix keys for native zabbix-agent:
@@ -195,15 +198,19 @@ def print_help(self):
195198
{prog} export zabbix-parameters <file>
196199
Options:
197200
--pg-version <pg_version>
201+
--config <file>
202+
--add-plugins <directory>
198203
199204
200205
Export template for native zabbix agent:
201206
Command: export zabbix-template
202207
Examples:
203208
{prog} export zabbix-template <file>
204209
Options:
205-
-t <template name>
210+
--template-name <template name>
206211
--application <application name in template>
212+
--config <file>
213+
--add-plugins <directory>
207214
208215
""")
209216
sys.exit(2)

0 commit comments

Comments
 (0)