diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-08-05 20:48:14 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-08-05 20:48:14 +0200 |
commit | a01588a03471a652043145eefeec5ef4bf77d05c (patch) | |
tree | c2989ee073c96d0cf8a805546f3f988ab474ef05 /bin | |
parent | 5e4555011fd9e465be9efefc685f12f0dbf28902 (diff) |
Makefile -> Build.PL
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/icli | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ use Date::Format; use Getopt::Long qw/:config bundling/; use Term::ANSIColor; -my $version = '0.1+git'; +my $VERSION = '0.1+git'; my ($cache, $config, $data, $extra); my $config_file = '/var/cache/icinga/objects.cache'; @@ -235,7 +235,7 @@ GetOptions( 'h|host=s' => sub { push(@for_hosts, split(/,/, $_[1])) }, 'l|list=s' => sub { $list_type = substr($_[1], 0, 1) }, 's|short' => \$short, - 'V|version' => sub { say "icli version $version"; exit 0 }, + 'V|version' => sub { say "icli version $VERSION"; exit 0 }, ); read_objects($status_file, \$data); |