Ticket #350 (new defect)

Opened 2 months ago

opsview_api command line help

Reported by: ton Assigned to:
Priority: minor Milestone: 2.14.X
Component: API Version: 2.14.0
Keywords: Cc:

Description

opsview_api --version /usr/local/nagios/bin/opsview_api version [unknown] calling Getopt::Std::getopts (version 1.05 [paranoid]), running under Perl version 5.8.8. [Now continuing due to backward compatibility and excessive paranoia. See perldoc Getopt::Std about $Getopt::Std::STANDARD_HELP_VERSION.] <opsview> <result> <detail>Must specify an XML file</detail> <status>OPTIONS-ERROR</status> </result> </opsview>

-version should output version number (which isnt specified) and stop execution

Same for --help; i.e. stop execution