Removed option --generate-only

This commit is contained in:
Dimitris Zlatanidis 2023-05-02 21:13:42 +03:00
parent fce4f74205
commit 32dc5ccda3
4 changed files with 3 additions and 18 deletions

View file

@ -124,7 +124,6 @@ OPTIONS:
-S, --search Search packages from the repository.
-n, --no-silent Disable silent mode.
-p, --pkg-version Print the repository package version.
-G, --generate-only Generates only the SLACKBUILDS.TXT file.
-P, --parallel Download files in parallel.
-B, --bin-repo=[REPO] Set a binary repository.
-z, --directory=[PATH] Download files to a specific path.

View file

@ -11,7 +11,7 @@ slpkg [-h|-v] [-u, update] [-U, upgrade] [-c, check-updates] [-I, repo-info] [-g
[-L, clean-logs] [-D, clean-tmp] [-T, clean-data] [-b, build] [-i, install] [-d, download]
[-R, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] -y, --yes, -j, --jobs, -o, --resolve-off,
-r, --reinstall, -k, --skip-installed, -a, --install-data, -E, --full-reverse, -S, --search, -n, --no-silent, -p, --pkg-version,
-G, --generate-only, -P, --parallel, -B, --bin-repo=[\fIREPO\fR], -z, --directory=[\fIPATH\fR]
-P, --parallel, -B, --bin-repo=[\fIREPO\fR], -z, --directory=[\fIPATH\fR]
.SH DESCRIPTION
.P
Slpkg is a software package manager that installs, updates, and removes packages on Slackware based systems.
@ -146,7 +146,7 @@ Note: This option affects only the dependencies. (to be used with: -i, install)
Install the data into the database only, if when you don't want to re-download or re-synchronize the package lists,
and you have already downloaded the repository, you can apply this options to install the data into the database.
This is a helpful especially for locals repositories and for those who download the repositories manually.
(to be used with: -u, update)
(to be used with: -u, update)
.RE
.P
.B -E, --full-reverse
@ -174,13 +174,6 @@ Disable silent mode, if it is enabled in the configuration file. (to be used wit
Print the repository package version. (to be used with: -e, dependees, -t, tracking, -w, view)
.RE
.P
.B -G, --generate-only
.RS
It is used only with the ponce repository and when you want to generate only the SLACKBUILDS.TXT
file and update the database, without downloading the whole repository if you have already
downloaded it. (to be used with: -u, update)
.RE
.P
.B -P, --parallel
.RS
Download files in parallel to speed up the process.

View file

@ -76,8 +76,6 @@ class Argparse(Configs):
self.flag_short_no_silent: str = '-n'
self.flag_pkg_version: str = '--pkg-version'
self.flag_short_pkg_version: str = '-p'
self.flag_generate: str = '--generate-only'
self.flag_short_generate: str = '-G'
self.flag_parallel: str = '--parallel'
self.flag_short_parallel: str = '-P'
self.flag_bin_repository: str = '--bin-repo='
@ -109,8 +107,6 @@ class Argparse(Configs):
self.flag_short_no_silent,
self.flag_pkg_version,
self.flag_short_pkg_version,
self.flag_generate,
self.flag_short_generate,
self.flag_parallel,
self.flag_short_parallel,
self.flag_bin_repository,
@ -126,8 +122,6 @@ class Argparse(Configs):
'update': [
self.flag_yes,
self.flag_short_yes,
self.flag_generate,
self.flag_short_generate,
self.flag_install_data,
self.flag_short_install_data,
self.flag_bin_repository,

View file

@ -35,7 +35,7 @@ class Usage(Configs):
f' slpkg [{self.yellow}OPTIONS{self.endc}] [-y, --yes, -j, --jobs, -o, --resolve-off, -r, --reinstall]\n'
f' slpkg [{self.yellow}OPTIONS{self.endc}] [-k, --skip-installed, -a, --install-data]\n'
f' slpkg [{self.yellow}OPTIONS{self.endc}] [-E, --full-reverse, -S, --search, -n, --no-silent]\n'
f' slpkg [{self.yellow}OPTIONS{self.endc}] [-p, --pkg-version, -G, --generate-only, -P, --parallel]\n'
f' slpkg [{self.yellow}OPTIONS{self.endc}] [-p, --pkg-version, -P, --parallel]\n'
f' slpkg [{self.yellow}OPTIONS{self.endc}] [-B, --bin-repo=[REPO]-z, --directory=[PATH]]\n'
" \nIf you need more information please try 'slpkg --help'.")
@ -78,7 +78,6 @@ class Usage(Configs):
f' {self.yellow}-S, --search{self.endc} Search packages from the repository.\n'
f' {self.yellow}-n, --no-silent{self.endc} Disable silent mode.\n'
f' {self.yellow}-p, --pkg-version{self.endc} Print the repository package version.\n'
f' {self.yellow}-G, --generate-only{self.endc} Generates only the SLACKBUILDS.TXT file.\n'
f' {self.yellow}-P, --parallel{self.endc} Download files in parallel.\n'
f' {self.yellow}-B, --bin-repo={self.endc}[REPO] Set a binary repository.\n'
f' {self.yellow}-z, --directory={self.endc}[PATH] Download files to a specific path.\n'