summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog3
-rwxr-xr-xbin/icli2
2 files changed, 3 insertions, 2 deletions
diff --git a/Changelog b/Changelog
index c6d20de..acaaf31 100644
--- a/Changelog
+++ b/Changelog
@@ -6,7 +6,8 @@ git HEAD
* Do not throw warnings when encountering empty contact groups
* Do not require --recheck when using --force-recheck
* Support --force-recheck with a host-only argument to immediately recheck
- all services on a host
+ all services on a host (closses #15)
+ * Fix -lh not showing serviceless hosts (closes #14)
icli 0.46 - Sun Sep 29 2013
diff --git a/bin/icli b/bin/icli
index 641893f..5359093 100755
--- a/bin/icli
+++ b/bin/icli
@@ -993,7 +993,7 @@ foreach my $group (@for_groups) {
}
if ( @list_hosts == 0 ) {
- @list_hosts = sort keys %{ $data->{services} };
+ @list_hosts = sort keys %{ $data->{hosts} };
}
if (@list_services) {