Skip to content

Commit

Permalink
doc: Document --forcearch as a global argument
Browse files Browse the repository at this point in the history
For #872
  • Loading branch information
evan-goode committed Oct 16, 2023
1 parent 438f65b commit 24cf087
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 40 deletions.
4 changes: 0 additions & 4 deletions doc/commands/distro-sync.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ Options
``--allowerasing``
| Allow erasing of installed packages to resolve any potential dependency problems.
``--forcearch=<arch>``
| Force the use of a specific architecture.
| :ref:`See <forcearch_misc_ref-label>` :manpage:`dnf5-forcearch(7)` for more info.

Examples
========
Expand Down
4 changes: 0 additions & 4 deletions doc/commands/download.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ Options
``--destdir=<path>``
Set directory used for downloading packages to. Default location is to the current working directory.

``--forcearch=<arch>``
| Force the use of a specific architecture.
| :ref:`See <forcearch_misc_ref-label>` :manpage:`dnf5-forcearch(7)` for more info.

Examples
========
Expand Down
4 changes: 0 additions & 4 deletions doc/commands/group.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ Options
``--contains-pkgs``
| Show only groups containing packages with specified names. List option, supports globs.
``--forcearch=<arch>``
| Force the use of a specific architecture.
| :ref:`See <forcearch_misc_ref-label>` :manpage:`dnf5-forcearch(7)` for more info.

Examples
========
Expand Down
4 changes: 0 additions & 4 deletions doc/commands/install.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ Options
``--newpackage``
| Consider only content contained in newpackage advisories.
``--forcearch=<arch>``
| Force the use of a specific architecture.
| :ref:`See <forcearch_misc_ref-label>` :manpage:`dnf5-forcearch(7)` for more info.

Examples
========
Expand Down
8 changes: 0 additions & 8 deletions doc/commands/makecache.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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=<arch>``
| Force the use of a specific architecture.
| :ref:`See <forcearch_misc_ref-label>` :manpage:`dnf5-forcearch(7)` for more info.
4 changes: 0 additions & 4 deletions doc/commands/repo.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ Options
``--disabled``
| Show information only about disabled repositories.
``--forcearch=<arch>``
| Force the use of a specific architecture.
| :ref:`See <forcearch_misc_ref-label>` :manpage:`dnf5-forcearch(7)` for more info.

Examples
========
Expand Down
4 changes: 0 additions & 4 deletions doc/commands/repoquery.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ Options
| Limit to packages that own these files.
| This is a list option.
``--forcearch=<arch>``
| Force the use of a specific architecture.
| :ref:`See <forcearch_misc_ref-label>` :manpage:`dnf5-forcearch(7)` for more info.
``--installed``
| Query installed packages.
| Can be combined with ``--available`` to query both installed and available packages.
Expand Down
4 changes: 0 additions & 4 deletions doc/commands/search.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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=<arch>``
| Force the use of a specific architecture.
| :ref:`See <forcearch_misc_ref-label>` :manpage:`dnf5-forcearch(7)` for more info.

Examples
========
Expand Down
4 changes: 0 additions & 4 deletions doc/commands/swap.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ Options
``--allowerasing``
| Allow erasing of installed packages to resolve any potential dependency problems.
``--forcearch=<arch>``
| Force the use of a specific architecture.
| :ref:`See <forcearch_misc_ref-label>` :manpage:`dnf5-forcearch(7)` for more info.


Examples
Expand Down
4 changes: 4 additions & 0 deletions doc/dnf5.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <forcearch_misc_ref-label>` :manpage:`dnf5-forcearch(7)` for more info.
``-h, --help``
| Show the help.
Expand Down

0 comments on commit 24cf087

Please sign in to comment.