From 8f008705f8802458002fbcc05ca4fa0bc7a5853c Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Thu, 4 Apr 2019 18:34:53 +0200 Subject: [PATCH] add resource-type option for vmware discovery --- apps/vmware/connector/mode/discovery.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/vmware/connector/mode/discovery.pm b/apps/vmware/connector/mode/discovery.pm index 5afdc32cb..2370134e4 100644 --- a/apps/vmware/connector/mode/discovery.pm +++ b/apps/vmware/connector/mode/discovery.pm @@ -33,7 +33,8 @@ sub new { $self->{version} = '1.0'; $options{options}->add_options(arguments => { - "prettify" => { name => 'prettify' }, + "resource-type:s" => { name => 'resource_type' }, + "prettify" => { name => 'prettify' }, }); return $self; @@ -72,7 +73,7 @@ __END__ =head1 MODE -Discover resources. +Resources discovery. =over 8