[Nagiosplug-devel] Nagios::Plugin and Help change proposal
Christoph Maser
cmr at financial.com
Mon Nov 12 10:49:31 CET 2007
Hello
i would like to see N::P changed in a way that the help feature repeats
the argumentname itself before the help text. Right now one has to write
something like this:
$plugin->add_arg(
spec => 'hello=s',
help => "--hello\n Hello string",
required => 1,
);
Wich can easly lead to typos. It would be nice if one could write
$plugin->add_arg(
spec => 'hello=s',
help => "Hello string",
required => 1,
);
and the help feature would automatically add "--$spec\n "
Chris
financial.com AG
Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
More information about the Devel
mailing list