diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-07-28 11:42:03 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-07-28 11:42:03 +0200 |
commit | 2e57947132c4b5a38d19c2cef137e86d7c188654 (patch) | |
tree | 0e972d5fc2edcfcb8895328f7b2a43ca400e2be8 /bin | |
parent | 96f5d993d8eff32958e55fe8b3c74cf26e064d2b (diff) |
Add -c option to specify config file location
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/icli | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |