summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-08-05 20:48:14 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-08-05 20:48:14 +0200
commita01588a03471a652043145eefeec5ef4bf77d05c (patch)
treec2989ee073c96d0cf8a805546f3f988ab474ef05 /bin
parent5e4555011fd9e465be9efefc685f12f0dbf28902 (diff)
Makefile -> Build.PL
Diffstat (limited to 'bin')
-rwxr-xr-xbin/icli4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/icli b/bin/icli
index b1d7a92..1716fed 100755
--- a/bin/icli
+++ b/bin/icli
@@ -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);