summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/icli6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/icli b/bin/icli
index 0248e47..19280c7 100755
--- a/bin/icli
+++ b/bin/icli
@@ -175,6 +175,7 @@ sub display_host {
}
GetOptions(
+ 'c|config=s' => \$config_file,
'C|no-colours' => sub { $colours = 0 },
'f|status-file=s' => \$status_file,
'g|hostgroup=s' => sub { push(@for_groups, split(/,/, $_[1])) },
@@ -241,6 +242,11 @@ services and their states.
=over
+=item B<-c>/B<--config> I<config>
+
+Read config from I<file> instead of the default
+F</var/cache/icinga/objects.cache>
+
=item B<-C>/B<--no-colours>
Disable colours in output