Skip to content

Commit

Permalink
[doc] Reposync documentation enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
m-blaha authored and pkratoch committed Nov 8, 2019
1 parent 0decd92 commit 5e57fa3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/reposync.rst
Expand Up @@ -43,7 +43,7 @@ All general DNF options are accepted. Namely, the ``--repoid`` option can be use
Root path under which the downloaded repositories are stored, relative to the current working directory. Defaults to the current working directory. Every downloaded repository has a subdirectory named after its ID under this path.

``--download-metadata``
Download all repository metadata. Downloaded copy is instantly usable as a repository, no need to run createrepo_c on it
Download all repository metadata. Downloaded copy is instantly usable as a repository, no need to run createrepo_c on it.

``-a <architecture>, --arch=<architecture>``
Download only packages of given architectures (default is all architectures). Can be used multiple times.
Expand All @@ -52,13 +52,13 @@ All general DNF options are accepted. Namely, the ``--repoid`` option can be use
Operate on source packages.

``-m, --downloadcomps``
Also download comps.xml.
Also download and uncompress comps.xml. Consider using ``--download-metadata`` option which will download all available repository metadata.

``-n, --newest-only``
Download only newest packages per-repo.

``--delete``
Delete local packages no longer present in repository
Delete local packages no longer present in repository.

``--metadata-path``
Root path under which the downloaded metadata are stored. It defaults to ``--download-path`` value if not given.
Expand Down
2 changes: 1 addition & 1 deletion plugins/reposync.py
Expand Up @@ -64,7 +64,7 @@ def set_argparser(parser):
parser.add_argument('--delete', default=False, action='store_true',
help=_('delete local packages no longer present in repository'))
parser.add_argument('-m', '--downloadcomps', default=False, action='store_true',
help=_('also download comps.xml'))
help=_('also download and uncompress comps.xml'))
parser.add_argument('--download-metadata', default=False, action='store_true',
help=_('download all the metadata.'))
parser.add_argument('-n', '--newest-only', default=False, action='store_true',
Expand Down

0 comments on commit 5e57fa3

Please sign in to comment.