Updated for options

This commit is contained in:
Dimitris Zlatanidis 2023-01-16 22:26:47 +02:00
parent 974913c8a0
commit aea1e35eac
4 changed files with 9 additions and 8 deletions

View file

@ -88,6 +88,7 @@ Usage
--full-reverse Full reverse dependency.
--search Search packages from the repository.
--no-silent Disable silent mode.
--directory=PATH Download files to a specific path.
-h, --help Show this message and exit.
-v, --version Print version and exit.

View file

@ -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
--reinstall, --skip-installed, --full-reverse, --search, --no-silent, --directory=PATH
.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.
@ -57,7 +57,7 @@ Construit les scripts des Slackbuilds et les ajoute au répertoire \fB/tmp\fP.
Construit et installe les paquets dans l'ordre adéquat et enregistre également les paquets avec les dépendances à utiliser pour la suppression.
.RE
.P
.B -d, download --yes, --search, --no-silent, --directory=
.B -d, download --yes, --search, --no-silent, --directory=PATH
.RS
Télécharger les scripts et les sources des SlackBuilds sans les construire ni les installer.
.RE
@ -139,7 +139,7 @@ Essayez par exemple : \fB`slpkg install python3 --search`\fP ou \fB`slpkg downlo
Désactive le mode silencieux s'il est activé dans le fichier de configuration.
.RE
.P
--directory=
--directory=PATH
.RS
Le répertoire est le chemin où les fichiers seront enregistrés.
.RE

View file

@ -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
--reinstall, --skip-installed, --full-reverse, --search, --no-silent, --directory=PATH
.SH DESCRIPTION
.P
Slpkg is a software package manager that installs, updates, and removes packages on Slackware based systems.
@ -57,7 +57,7 @@ Builds the Slackbuilds scripts and adds them to the /tmp directory.
Builds and installs the packages in the correct order and also logs the packages with dependencies to use for removal.
.RE
.P
.B -d, download --yes, --search, --no-silent, --directory=
.B -d, download --yes, --search, --no-silent, --directory=PATH
.RS
Download the SlackBuilds scripts and the sources without building or installing it.
.RE
@ -139,7 +139,7 @@ Example try: `slpkg install python3 --search` or `slpkg download python3 --searc
Disable silent mode if it is enabled in the configuration file.
.RE
.P
--directory=
--directory=PATH
.RS
The directory is the path where the files will be saved.
.RE

View file

@ -27,7 +27,7 @@ class Usage:
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=]\n'
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--no-silent, --directory=PATH\n'
" \nIf you need more information please try 'slpkg --help'.")
print(args)
@ -64,7 +64,7 @@ class Usage:
f' {self.yellow}--full-reverse{self.endc} Full reverse dependency.\n'
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} Download files to a specific path.\n'
f' {self.yellow}--directory=PATH{self.endc} Download files to a specific path.\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'