From 1ccf35eefc9fb507bbff0591225427655eb07684 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 29 Jul 2010 12:35:16 +0200 Subject: Documentation fixups --- bin/icli | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/bin/icli b/bin/icli index 98729c2..398f2b6 100755 --- a/bin/icli +++ b/bin/icli @@ -248,40 +248,47 @@ services and their states. =over -=item B<-c>/B<--config> I +=item B<-c>|B<--config> I Read config from I instead of the default F -=item B<-C>/B<--no-colours> +=item B<-C>|B<--no-colours> Disable colours in output -=item B<-f>/B<--status-file> I +=item B<-f>|B<--status-file> I Read the status from I instead of the default F -=item B<-g>/B<--hostgroup> I +=item B<-g>|B<--hostgroup> I Show details for all hosts in I -=item B<-h>/B<--host> I +=item B<-h>|B<--host> I Only show I's services -=item B<-l>/B<--list> B|B +=item B<-l>|B<--list> B|B List either services (the default) or hosts. -Note that only the first character of the argument is checked, so C<< icinga --lh >> and C<< icinga -ls >> are also fine. +Note that only the first character of the argument is checked, so C<< icli +-lh >> and C<< icli -ls >> are also fine. -=item B<-s>/B<--short> +=item B<-s>|B<--short> Only show services which are not OK +=item B<-V>|B<--version> + +Show version information + =back +The argument to B<-g> and B<-h> may also be comma-separated list of +hosts/hostgroups, e.g. C<< icli -h aneurysm,kraftwerk >>. + =head1 EXIT STATUS Zero, unless errors occured. -- cgit v1.2.3