From 173c0c38ff605a275be4a9ba16fb4a8aa8ee74e3 Mon Sep 17 00:00:00 2001 From: Packit Date: Aug 19 2020 14:20:09 +0000 Subject: Apply patch 0012-doc-Explain-the-backslash-notation-also-near-the-example-RhBug1680482.patch patch_name: 0012-doc-Explain-the-backslash-notation-also-near-the-example-RhBug1680482.patch location_in_specfile: 12 present_in_specfile: true --- diff --git a/doc/command_ref.rst b/doc/command_ref.rst index 4c14d85..b880407 100644 --- a/doc/command_ref.rst +++ b/doc/command_ref.rst @@ -454,10 +454,12 @@ Alias Examples Lists all defined aliases. ``dnf alias add rm=remove`` - Adds new alias command called "rm" which does the same thing as the command "remove". + Adds a new command alias called ``rm`` which works the same as the ``remove`` command. ``dnf alias add update="\update --skip-broken --disableexcludes=all --obsoletes"`` - Adds new alias command called "update" which does the same thing as the command "update", but with options ``--skip-broken --disableexcludes=all --obsoletes``. + Adds a new command alias called ``update`` which works the same as the ``update`` command, + with additional options. Note that the original ``update`` command is prefixed with a ``\`` + to prevent an infinite loop in alias processing. .. _alias_processing_examples-label: