Skip to content

Commit

Permalink
reposync: add help
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverkurth committed May 28, 2021
1 parent 2aad58f commit e47d2c6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tools/cli/lib/help.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,19 @@ TDNFCliShowHelp(
pr_crit(" [--disableexcludes]\n");
pr_crit(" [--downloadonly]\n");
pr_crit(" [--downloaddir=<directory>]\n");
pr_crit("\n");
pr_crit("reposync options:\n");
pr_crit(" [--arch=<arch> [--arch=<arch> [..]]\n");
pr_crit(" [--delete]\n");
pr_crit(" [--download-path=<directory>]\n");
pr_crit(" [--download-metadata]\n");
pr_crit(" [--gpgcheck]\n");
pr_crit(" [--metadata-path=<directory>]\n");
pr_crit(" [--newest-only]\n");
pr_crit(" [--norepopath]\n");
pr_crit(" [--source]\n");
pr_crit(" [--urls]\n");
pr_crit("\n");

pr_crit("List of Main Commands\n");
pr_crit("\n");
Expand All @@ -79,6 +92,7 @@ TDNFCliShowHelp(
pr_crit("remove Remove a package or packages from your system\n");
pr_crit("reinstall reinstall a package\n");
pr_crit("repolist Display the configured software repositories\n");
pr_crit("reposync Download all packages from one or more repositories to a directory\n");
pr_crit("search Search package details for the given string\n");
pr_crit("update Upgrade a package or packages on your system (same as 'upgrade')\n");
pr_crit("updateinfo Display advisories about packages\n");
Expand Down

0 comments on commit e47d2c6

Please sign in to comment.