Repository :
http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
---------------------------------------------------------------
commit bc26a75106dd7b0d2085f307007688df76682349
Author: Peter Hatina <phatina(a)redhat.com>
Date: Wed Jul 31 15:24:23 2013 +0200
add log options description into man page generator
---------------------------------------------------------------
util/man-page-generator/generate-man-page | 27 +++++++++++++++++++++++----
1 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/util/man-page-generator/generate-man-page
b/util/man-page-generator/generate-man-page
index 1c039da..043af64 100755
--- a/util/man-page-generator/generate-man-page
+++ b/util/man-page-generator/generate-man-page
@@ -58,7 +58,7 @@ man_page_header = \
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.
@@ -70,10 +70,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.
+"""
# The man page static footer containing Authors section.
man_page_footer = \
""".SH "AUTHORS"