Repository : http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
commit b902a9e213820f29d5e59e02267f3aafe203b9dd Author: Peter Hatina phatina@redhat.com Date: Wed Jul 31 15:23:52 2013 +0200
add log options description into man page
man/lmishell.1 | 27 +++++++++++++++++++++++---- 1 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/man/lmishell.1 b/man/lmishell.1 index c0b4eb5..3f83e7a 100644 --- a/man/lmishell.1 +++ b/man/lmishell.1 @@ -3,7 +3,7 @@ lmishell - (non)interactive WBEM client and interpreter. .SH SYNOPSIS .B lmishell -[\fB-i\fR] [\fB--interact\fR] script [script-options] +[options] script [script-options] .SH DESCRIPTION lmishell provides a (non)interactive or interactive way how to access CIM objects provided by OpenPegasus or sblim-sfcb CIMOM. @@ -15,10 +15,29 @@ classes are added to fulfill wrapper pattern and expose only those methods, which are necessary for the purpose of a shell. Following scheme depicts a structure of the OpenLMI Shell. .SH OPTIONS -\fB-h\fR \fB--help\fR Print summary of usage, command line options and exit. +The options may be given in any order before the first positional argument, +which stands for the script name. .TP -\fB-h\fR \fB--interact\fR Enter interactive mode, when the script passed -as the first positional argument is executed. +\fB-h\fR \fB--help\fR +Print summary of usage, command line options and exit. +.TP +\fB-i\fR \fB--interact\fR +Enter interactive mode, when the script passed as the first positional argument +is executed. +.TP +\fB-v\fR \fB--verbose\fR +Print log messages to stderr. +.TP +\fB-m\fR \fB--more-verbose\fR +Print all log messages to stderr. +.TP +\fB-q\fR \fB--quiet\fR +Do not print any log messages to stderr. +.P +By default, LMIShell prints out log messages with Error severity. Options +\fB-v\fR, \fB-m\fR and \fB-q\fR are mutually exclusive and +can not be used together. + .SH HOW TO USE THE SHELL The following text covers basic use-cases.
cura-tools-devel@lists.fedorahosted.org