[Python-modules-commits] r9413 - in packages/pywbem/trunk/debian (wbemcli.1.xml)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Fri Aug 21 13:49:09 UTC 2009
Date: Friday, August 21, 2009 @ 13:49:07
Author: bzed
Revision: 9413
Fixing several bugs in the manpage xml.
Modified:
packages/pywbem/trunk/debian/wbemcli.1.xml
Modified: packages/pywbem/trunk/debian/wbemcli.1.xml
===================================================================
--- packages/pywbem/trunk/debian/wbemcli.1.xml 2009-08-21 12:57:24 UTC (rev 9412)
+++ packages/pywbem/trunk/debian/wbemcli.1.xml 2009-08-21 13:49:07 UTC (rev 9413)
@@ -58,7 +58,7 @@
http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
<!ENTITY dhtitle "wbemcli User Manual">
<!ENTITY dhucpackage "PYWBEM">
- <!ENTITY dhpackage "PYWBEM">
+ <!ENTITY dhpackage "wbemcli">
]>
<refentry>
@@ -81,7 +81,9 @@
</copyright>
<legalnotice>
<para>This manual page was written for the Debian system
- (and may be used by others).</para>
+ (and may be used by others). The description was taken from
+ wbemcli.py and is
+ (C) Copyright 2008 Hewlett-Packard Development Company, L.P.</para>
<para>Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Lesser General Public License,
Version 2 or (at your option) any later version published by
@@ -104,14 +106,12 @@
<command>&dhpackage;</command>
<arg choice="plain"><option><replaceable>HOSTNAME</replaceable></option></arg>
<arg choice="opt">
- <group choice="req">
- <arg choice="plain"><option>-u<replaceable>USERNAME</replaceable></option></arg>
- <arg choice="plain"><option>-p<replaceable>PASSWORD</replaceable></option></arg>
- </group>
+ <arg choice="plain"><option>-u<replaceable> USERNAME</replaceable></option></arg>
+ <arg choice="plain"><option>-p<replaceable> PASSWORD</replaceable></option></arg>
</arg>
- <arg choice="opt"><option>-n<replaceable>NAMESPACE</replaceable></option></arg>
+ <arg choice="opt"><option>-n<replaceable> NAMESPACE</replaceable></option></arg>
<arg choice="opt"><option>--no-ssl</option></arg>
- <arg choice="opt"><option>--port<replaceable>PORT</replaceable></option></arg>
+ <arg choice="opt"><option>--port<replaceable> PORT</replaceable></option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 id="description">
@@ -128,17 +128,17 @@
three commands are equivalent:
</para>
<blockquote>
- <para>
+<literallayout>
>>> cli.EnumerateInstanceNames('SMX_ComputerSystem')
>>> EnumerateInstanceNames('SMX_ComputerSystem')
>>> ein('SMX_ComputerSystem')
- </para>
+</literallayout>
</blockquote>
<para>Pretty-printing of results is also available using the 'pp'
function. For example:
</para>
<blockquote>
- <para>
+<literallayout>
>>> cs = ei('SMX_ComputerSystem')[0]
>>> pp(cs.items())
[(u'RequestedState', 12L),
@@ -146,7 +146,7 @@
(u'StatusDescriptions', [u'System is Functional']),
(u'IdentifyingNumber', u'6F880AA1-F4F5-11D5-8C45-C0116FBAE02A'),
..
- </para>
+</literallayout>
</blockquote>
</refsect1>
</refentry>
More information about the Python-modules-commits
mailing list