From 1362bbae850af95ecab4c973d02185fc56a1062a Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Thu, 7 May 2020 08:35:01 +0200 Subject: [PATCH] Fixed incorrect connection list output in readme files Signed-off-by: Andreas Maier --- README.rst | 21 ++++++++++++++++----- README_PYPI.rst | 21 ++++++++++++++++----- docs/changes.rst | 2 ++ 3 files changed, 34 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index ad13429c..2b8eaa90 100644 --- a/README.rst +++ b/README.rst @@ -177,11 +177,22 @@ the server: .. code-block:: text $ pywbemcli connection list - WBEM server connections: (#: default, *: current) - name server namespace user timeout verify mock-server - ------ ----------------- ----------- ------ --------- -------- -------------------------------------- - assoc1 root/cimv2 30 True tests/unit/simple_assoc_mock_model.mof - conn1 https://localhost root/cimv2 user 30 False + WBEM server connections(brief): (#: default, *: current) + name server mock-server + ------ ----------------- -------------------------------------- + assoc1 tests/unit/simple_assoc_mock_model.mof + conn1 https://localhost + +* List the persistent connection definitions with full information: + + .. code-block:: text + + $ pywbemcli connection list --full + WBEM server connections(full): (#: default, *: current) + name server namespace user timeout use_pull verify certfile keyfile mock-server + ------ ----------------- ----------- ------ --------- ---------- -------- ---------- --------- -------------------------------------- + assoc1 root/cimv2 30 True tests/unit/simple_assoc_mock_model.mof + conn1 https://localhost root/cimv2 user 30 True False * Show the class tree, using the previously added connection definition ``assoc1``: diff --git a/README_PYPI.rst b/README_PYPI.rst index d4eece3b..cfbfae89 100644 --- a/README_PYPI.rst +++ b/README_PYPI.rst @@ -90,11 +90,22 @@ the server: .. code-block:: text $ pywbemcli connection list - WBEM server connections: (#: default, *: current) - name server namespace user timeout verify mock-server - ------ ----------------- ----------- ------ --------- -------- -------------------------------------- - assoc1 root/cimv2 30 True tests/unit/simple_assoc_mock_model.mof - conn1 https://localhost root/cimv2 user 30 False + WBEM server connections(brief): (#: default, *: current) + name server mock-server + ------ ----------------- -------------------------------------- + assoc1 tests/unit/simple_assoc_mock_model.mof + conn1 https://localhost + +* List the persistent connection definitions with full information: + + .. code-block:: text + + $ pywbemcli connection list --full + WBEM server connections(full): (#: default, *: current) + name server namespace user timeout use_pull verify certfile keyfile mock-server + ------ ----------------- ----------- ------ --------- ---------- -------- ---------- --------- -------------------------------------- + assoc1 root/cimv2 30 True tests/unit/simple_assoc_mock_model.mof + conn1 https://localhost root/cimv2 user 30 True False * Show the class tree, using the previously added connection definition ``assoc1``: diff --git a/docs/changes.rst b/docs/changes.rst index 7429ce12..4dfd1606 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -20,6 +20,8 @@ Released: not yet **Bug fixes:** +* Fixed incorrect connection list output in readme files (see issue #593). + **Enhancements:** * Enabled installation using 'setup.py install' from unpacked source distribution