From 24cf08705c0da859c568ba647988b3b20fb19d2c Mon Sep 17 00:00:00 2001 From: Evan Goode Date: Wed, 4 Oct 2023 16:15:03 +0000 Subject: [PATCH] doc: Document --forcearch as a global argument For https://github.com/rpm-software-management/dnf5/issues/872 --- doc/commands/distro-sync.8.rst | 4 ---- doc/commands/download.8.rst | 4 ---- doc/commands/group.8.rst | 4 ---- doc/commands/install.8.rst | 4 ---- doc/commands/makecache.8.rst | 8 -------- doc/commands/repo.8.rst | 4 ---- doc/commands/repoquery.8.rst | 4 ---- doc/commands/search.8.rst | 4 ---- doc/commands/swap.8.rst | 4 ---- doc/dnf5.8.rst | 4 ++++ 10 files changed, 4 insertions(+), 40 deletions(-) diff --git a/doc/commands/distro-sync.8.rst b/doc/commands/distro-sync.8.rst index b795eda2e..9c5da1377 100644 --- a/doc/commands/distro-sync.8.rst +++ b/doc/commands/distro-sync.8.rst @@ -44,10 +44,6 @@ Options ``--allowerasing`` | Allow erasing of installed packages to resolve any potential dependency problems. -``--forcearch=`` - | Force the use of a specific architecture. - | :ref:`See ` :manpage:`dnf5-forcearch(7)` for more info. - Examples ======== diff --git a/doc/commands/download.8.rst b/doc/commands/download.8.rst index 47c8d296f..8c2cbec45 100644 --- a/doc/commands/download.8.rst +++ b/doc/commands/download.8.rst @@ -47,10 +47,6 @@ Options ``--destdir=`` Set directory used for downloading packages to. Default location is to the current working directory. -``--forcearch=`` - | Force the use of a specific architecture. - | :ref:`See ` :manpage:`dnf5-forcearch(7)` for more info. - Examples ======== diff --git a/doc/commands/group.8.rst b/doc/commands/group.8.rst index 5ca9fa4ca..f509787c4 100644 --- a/doc/commands/group.8.rst +++ b/doc/commands/group.8.rst @@ -93,10 +93,6 @@ Options ``--contains-pkgs`` | Show only groups containing packages with specified names. List option, supports globs. -``--forcearch=`` - | Force the use of a specific architecture. - | :ref:`See ` :manpage:`dnf5-forcearch(7)` for more info. - Examples ======== diff --git a/doc/commands/install.8.rst b/doc/commands/install.8.rst index 23be70f14..2aeb0af3e 100644 --- a/doc/commands/install.8.rst +++ b/doc/commands/install.8.rst @@ -74,10 +74,6 @@ Options ``--newpackage`` | Consider only content contained in newpackage advisories. -``--forcearch=`` - | Force the use of a specific architecture. - | :ref:`See ` :manpage:`dnf5-forcearch(7)` for more info. - Examples ======== diff --git a/doc/commands/makecache.8.rst b/doc/commands/makecache.8.rst index 7f3e58002..b73adf108 100644 --- a/doc/commands/makecache.8.rst +++ b/doc/commands/makecache.8.rst @@ -36,11 +36,3 @@ for enabled repositories. It tries to avoid downloading whenever possible, e.g. when the local metadata hasn't expired yet or when the metadata timestamp hasn't changed. - - -Options -======= - -``--forcearch=`` - | Force the use of a specific architecture. - | :ref:`See ` :manpage:`dnf5-forcearch(7)` for more info. diff --git a/doc/commands/repo.8.rst b/doc/commands/repo.8.rst index 13c2e9c9e..0f7d17144 100644 --- a/doc/commands/repo.8.rst +++ b/doc/commands/repo.8.rst @@ -58,10 +58,6 @@ Options ``--disabled`` | Show information only about disabled repositories. -``--forcearch=`` - | Force the use of a specific architecture. - | :ref:`See ` :manpage:`dnf5-forcearch(7)` for more info. - Examples ======== diff --git a/doc/commands/repoquery.8.rst b/doc/commands/repoquery.8.rst index 25886a208..5b3a5f00d 100644 --- a/doc/commands/repoquery.8.rst +++ b/doc/commands/repoquery.8.rst @@ -92,10 +92,6 @@ Options | Limit to packages that own these files. | This is a list option. -``--forcearch=`` - | Force the use of a specific architecture. - | :ref:`See ` :manpage:`dnf5-forcearch(7)` for more info. - ``--installed`` | Query installed packages. | Can be combined with ``--available`` to query both installed and available packages. diff --git a/doc/commands/search.8.rst b/doc/commands/search.8.rst index cc9341328..0938ac422 100644 --- a/doc/commands/search.8.rst +++ b/doc/commands/search.8.rst @@ -46,10 +46,6 @@ Options | Search patterns also inside `Description` and `URL` fields. | By applying this option the search lists packages that match at least one of the keys (OR operation). -``--forcearch=`` - | Force the use of a specific architecture. - | :ref:`See ` :manpage:`dnf5-forcearch(7)` for more info. - Examples ======== diff --git a/doc/commands/swap.8.rst b/doc/commands/swap.8.rst index a9149afd1..95d2f2358 100644 --- a/doc/commands/swap.8.rst +++ b/doc/commands/swap.8.rst @@ -41,10 +41,6 @@ Options ``--allowerasing`` | Allow erasing of installed packages to resolve any potential dependency problems. -``--forcearch=`` - | Force the use of a specific architecture. - | :ref:`See ` :manpage:`dnf5-forcearch(7)` for more info. - Examples diff --git a/doc/dnf5.8.rst b/doc/dnf5.8.rst index 1ce29a9cf..d5a97ef7a 100644 --- a/doc/dnf5.8.rst +++ b/doc/dnf5.8.rst @@ -188,6 +188,10 @@ Following options are applicable in the general context for any ``dnf5`` command | This is a list option which can be specified multiple times. | Accepted values are ids, or a glob of ids. +``--forcearch=ARCH`` + | Force the use of a specific architecture. + | :ref:`See ` :manpage:`dnf5-forcearch(7)` for more info. + ``-h, --help`` | Show the help.