From 795080b74040d2b5b117926f5c16825d56b37352 Mon Sep 17 00:00:00 2001 From: "Sethi, Puneet" Date: Mon, 18 Jun 2018 15:15:23 -0700 Subject: [PATCH 1/2] Add bundle search and help command -Add command to search for bundles and reference to online bundle-list - Add swupd help as additional information - Reformat commands with switches but no parameters as commands instead of code-blocks --- .../clear-linux/reference/bundle-commands.rst | 45 ++++++++++++++++--- 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/source/clear-linux/reference/bundle-commands.rst b/source/clear-linux/reference/bundle-commands.rst index 40ddf99f..849c42c5 100644 --- a/source/clear-linux/reference/bundle-commands.rst +++ b/source/clear-linux/reference/bundle-commands.rst @@ -3,20 +3,51 @@ Useful bundle commands ###################### -To see a list of currently-installed bundles, enter: -.. code-block:: console - # swupd bundle-list +To see a list of currently installed bundles, enter: + + :command:`swupd` :option:`bundle-list` + To see the list of all available bundles, enter: -.. code-block:: console + :command:`swupd` :option:`bundle-list --all` + + + Alternatively, you may reference the `available bundle list`_ webpage. + + +To search for bundles and their contents, enter: + + .. code-block:: console + + # swupd search [bundle name] - # swupd bundle-list --all To add a bundle, enter: -.. code-block:: console + .. code-block:: console - # swupd bundle-add [bundle name] \ No newline at end of file + # swupd bundle-add [bundle name] + + + + +Additional information +====================== + +For additional :command:`swupd` commands, enter: + + .. code-block:: console + + # swupd --help + +or reference the :command:`swupd` man page, enter: + + .. code-block:: console + + # man swupd + + +.. _available bundle list: https://clearlinux.org/documentation/clear-linux/reference/bundles/available-bundles#bundle-list From 54cfae7152335e3d51ab5f2e714fec3d81542e30 Mon Sep 17 00:00:00 2001 From: Michael Vincerra Date: Thu, 21 Jun 2018 13:55:49 -0700 Subject: [PATCH 2/2] Corrects Sphinx syntax, URL; and prepends commands with sudo. Signed-off-by: Michael Vincerra --- .../clear-linux/reference/bundle-commands.rst | 36 ++++++++----------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/source/clear-linux/reference/bundle-commands.rst b/source/clear-linux/reference/bundle-commands.rst index 849c42c5..81c8edd8 100644 --- a/source/clear-linux/reference/bundle-commands.rst +++ b/source/clear-linux/reference/bundle-commands.rst @@ -3,51 +3,45 @@ Useful bundle commands ###################### - - To see a list of currently installed bundles, enter: - :command:`swupd` :option:`bundle-list` +.. code-block:: bash + sudo swupd bundle-list To see the list of all available bundles, enter: - :command:`swupd` :option:`bundle-list --all` +.. code-block:: bash + sudo swupd bundle-list --all - Alternatively, you may reference the `available bundle list`_ webpage. - +Alternatively, you may reference the `available bundle list`_ webpage. To search for bundles and their contents, enter: - .. code-block:: console - - # swupd search [bundle name] +.. code-block:: bash + sudo swupd search [bundle name] To add a bundle, enter: - .. code-block:: console - - # swupd bundle-add [bundle name] - - +.. code-block:: bash + sudo swupd bundle-add [bundle name] Additional information ====================== For additional :command:`swupd` commands, enter: - .. code-block:: console +.. code-block:: bash - # swupd --help + swupd --help -or reference the :command:`swupd` man page, enter: +To reference the :command:`swupd` man page, enter: - .. code-block:: console +.. code-block:: bash - # man swupd + man swupd - -.. _available bundle list: https://clearlinux.org/documentation/clear-linux/reference/bundles/available-bundles#bundle-list +.. _available bundle list: https://clearlinux.org/documentation/clear-linux/reference/bundles/available-bundles