mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Rename option
This commit is contained in:
parent
4eab533aef
commit
b3f96e3d69
8 changed files with 15 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
|||
4.5.1 - 16/01/2023
|
||||
Added:
|
||||
- Option --directory=PATH for download command
|
||||
- Option --repo-version for print repository version
|
||||
- Option --pkg-version for print repository version
|
||||
|
||||
4.5.0 - 14/01/2023
|
||||
Updated:
|
||||
|
|
|
@ -89,7 +89,7 @@ Usage
|
|||
--search Search packages from the repository.
|
||||
--no-silent Disable silent mode.
|
||||
--directory=PATH Download files to a specific path.
|
||||
--repo-version Print the repository package version.
|
||||
--pkg-version Print the repository package version.
|
||||
|
||||
-h, --help Show this message and exit.
|
||||
-v, --version Print version and exit.
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
.P
|
||||
slpkg [-h|-v] [update] [upgrade] [check-updates] [configs] [clean-logs] [clean-tmp] [-b, build] [-i, install] [-d, download]
|
||||
[-r, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] --yes, --jobs, --resolve-off,
|
||||
--reinstall, --skip-installed, --full-reverse, --search, --no-silent, --directory=PATH, --repo-version
|
||||
--reinstall, --skip-installed, --full-reverse, --search, --no-silent, --directory=PATH, --pkg-version
|
||||
.SH DESCRIPTION
|
||||
.P
|
||||
\fBSlpkg\fP est un gestionnaire de paquets logiciels qui \fBinstalle\fP, \fBmet à jour\fP et \fBsupprime\fP les paquets pour les systèmes basés sur \fBSlackware\fP.
|
||||
|
@ -83,12 +83,12 @@ Voir les paquets du dépôt et obtenir toutes les informations dans le terminal.
|
|||
Rechercher les paquets.
|
||||
.RE
|
||||
.P
|
||||
.B -e, dependees --full-reverse, --search, --repo-version
|
||||
.B -e, dependees --full-reverse, --search, --pkg-version
|
||||
.RS
|
||||
Montre les dépendances du paquet.
|
||||
.RE
|
||||
.P
|
||||
.B -t, tracking --search, --repo-version
|
||||
.B -t, tracking --search, --pkg-version
|
||||
.RS
|
||||
Suivi des dépendances des paquets.
|
||||
.RE
|
||||
|
@ -144,7 +144,7 @@ Désactive le mode silencieux s'il est activé dans le fichier de configuration.
|
|||
Le répertoire est le chemin où les fichiers seront enregistrés.
|
||||
.RE
|
||||
.P
|
||||
--repo-version
|
||||
--pkg-version
|
||||
.RS
|
||||
Imprimez la version du package du référentiel.
|
||||
.RE
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
.P
|
||||
slpkg [-h|-v] [update] [upgrade] [check-updates] [configs] [clean-logs] [clean-tmp] [-b, build] [-i, install] [-d, download]
|
||||
[-r, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] --yes, --jobs, --resolve-off,
|
||||
--reinstall, --skip-installed, --full-reverse, --search, --no-silent, --directory=PATH, --repo-version
|
||||
--reinstall, --skip-installed, --full-reverse, --search, --no-silent, --directory=PATH, --pkg-version
|
||||
.SH DESCRIPTION
|
||||
.P
|
||||
Slpkg is a software package manager that installs, updates, and removes packages on Slackware based systems.
|
||||
|
@ -83,12 +83,12 @@ View packages from the repository and get everything in your terminal.
|
|||
Search and match packages from the repository.
|
||||
.RE
|
||||
.P
|
||||
.B -e, dependees --full-reverse, --search, --repo-version
|
||||
.B -e, dependees --full-reverse, --search, --pkg-version
|
||||
.RS
|
||||
Show which SlackBuilds depend on.
|
||||
.RE
|
||||
.P
|
||||
.B -t, tracking --search, --repo-version
|
||||
.B -t, tracking --search, --pkg-version
|
||||
.RS
|
||||
Tracking the packages dependencies.
|
||||
.RE
|
||||
|
@ -144,7 +144,7 @@ Disable silent mode if it is enabled in the configuration file.
|
|||
The directory is the path where the files will be saved.
|
||||
.RE
|
||||
.P
|
||||
--repo-version
|
||||
--pkg-version
|
||||
.RS
|
||||
Print the repository package version.
|
||||
.RE
|
||||
|
|
|
@ -15,7 +15,7 @@ class Dependees:
|
|||
self.packages = packages
|
||||
self.flags = flags
|
||||
self.flag_full_reverse = '--full-reverse'
|
||||
self.flag_repo_version = '--repo-version'
|
||||
self.flag_repo_version = '--pkg-version'
|
||||
self.configs = Configs
|
||||
self.session = Session
|
||||
self.ascii = Ascii()
|
||||
|
|
|
@ -52,7 +52,7 @@ class Argparse(Configs):
|
|||
self.flag_search = '--search'
|
||||
self.flag_no_silent = '--no-silent'
|
||||
self.flag_directory = '--directory='
|
||||
self.flag_repo_version = '--repo-version'
|
||||
self.flag_repo_version = '--pkg-version'
|
||||
|
||||
self.is_dialog_enabled()
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ class Tracking(Configs):
|
|||
def __init__(self, flags: list):
|
||||
super(Configs, self).__init__()
|
||||
self.flags = flags
|
||||
self.flag_repo_version = '--repo-version'
|
||||
self.flag_repo_version = '--pkg-version'
|
||||
self.ascii = Ascii()
|
||||
self.llc = self.ascii.lower_left_corner
|
||||
self.hl = self.ascii.horizontal_line
|
||||
|
|
|
@ -27,7 +27,7 @@ class Usage(Configs):
|
|||
f' slpkg [{self.cyan}COMMAND{self.endc}] [-t, tracking] <packages>\n'
|
||||
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--yes, --jobs, --resolve-off, --reinstall]\n'
|
||||
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--skip-installed, --full-reverse, --search]\n'
|
||||
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--no-silent, --directory=PATH, --repo-version]\n'
|
||||
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--no-silent, --directory=PATH, --pkg-version]\n'
|
||||
" \nIf you need more information please try 'slpkg --help'.")
|
||||
|
||||
print(args)
|
||||
|
@ -65,7 +65,7 @@ class Usage(Configs):
|
|||
f' {self.yellow}--search{self.endc} Search packages from the repository.\n'
|
||||
f' {self.yellow}--no-silent{self.endc} Disable silent mode.\n'
|
||||
f' {self.yellow}--directory={self.endc}PATH Download files to a specific path.\n'
|
||||
f' {self.yellow}--repo-version{self.endc} Print the repository package version.\n'
|
||||
f' {self.yellow}--pkg-version{self.endc} Print the repository package version.\n'
|
||||
'\n -h, --help Show this message and exit.\n'
|
||||
' -v, --version Print version and exit.\n'
|
||||
'\nEdit the configuration file in the /etc/slpkg/slpkg.toml \n'
|
||||
|
|
Loading…
Reference in a new issue