Renamed option

This commit is contained in:
Dimitris Zlatanidis 2023-01-28 20:11:45 +02:00
parent b01f7fb4a5
commit c50d97862e
5 changed files with 9 additions and 9 deletions

View file

@ -65,7 +65,7 @@ Usage
-c, check-updates Check for news on ChangeLog.txt.
-g, configs Edit the configuration file.
-L, clean-logs Clean dependencies log tracking.
-T, clean-tmp Deletes all the downloaded sources.
-D, clean-tmp Deletes all the downloaded sources.
-b, build <packages> Build only the packages.
-i, install <packages> Build and install the packages.
-d, download <packages> Download only the scripts and sources.

View file

@ -4,7 +4,7 @@
.B slpkg - [OPTIONS] [COMMANDE] <packages>.
.SH SYNOPSIS
.P
slpkg [-h|-v] [-u, update] [-U, upgrade] [-c, check-updates] [-g, configs] [-L, clean-logs] [-T, clean-tmp] [-b, build] [-i, install] [-d, download]
slpkg [-h|-v] [-u, update] [-U, upgrade] [-c, check-updates] [-g, configs] [-L, clean-logs] [-D, clean-tmp] [-b, build] [-i, install] [-d, download]
[-r, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] -y, --yes, -j, --jobs, -ro, --resolve-off,
-R, --reinstall, -si, --skip-installed, -fr, --full-reverse, -S, --search, -ns, --no-silent, -dir=, --directory=PATH, -pv, --pkg-version, -fp=, --file-pattern=PATTERN
.SH DESCRIPTION
@ -37,7 +37,7 @@ Vérifier si le fichier \fBChangeLog.txt\fP du SlackBuild contient des mises à
Nettoyer les journaux de suivi de dépendances. \fBAttention\fP, après cette procédure vous devrez supprimer les dépendances à la main.
.RE
.P
.B -T, clean-tmp
.B -D, clean-tmp
.RS
Supprimer tous les scripts et sources des SlackBuilds téléchargés.
.RE

View file

@ -4,7 +4,7 @@
.B slpkg - [OPTIONS] [COMMAND] <packages>
.SH SYNAPSES
.P
slpkg [-h|-v] [-u, update] [-U, upgrade] [-c, check-updates] [-g, configs] [-L, clean-logs] [-T, clean-tmp] [-b, build] [-i, install] [-d, download]
slpkg [-h|-v] [-u, update] [-U, upgrade] [-c, check-updates] [-g, configs] [-L, clean-logs] [-D, clean-tmp] [-b, build] [-i, install] [-d, download]
[-r, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] -y, --yes, -j, --jobs, -ro, --resolve-off,
-ri, --reinstall, -si, --skip-installed, -fr, --full-reverse, -S, --search, -ns, --no-silent, -dir=, --directory=PATH, -pv, --pkg-version, -fp=, --file-pattern=PATTERN
.SH DESCRIPTION
@ -37,7 +37,7 @@ Check if there is any news on the SlackBuild's ChangeLog.txt file.
Cleans dependencies log tracking. After that procedure you should remove dependencies by hand.
.RE
.P
.B -T, clean-tmp
.B -D, clean-tmp
.RS
Deletes all the downloaded SlackBuilds scripts and sources.
.RE

View file

@ -247,7 +247,7 @@ class Argparse(Configs):
commands['-c'] = commands['check-updates']
commands['-g'] = commands['configs']
commands['-L'] = commands['clean-logs']
commands['-T'] = commands['clean-tmp']
commands['-D'] = commands['clean-tmp']
commands['-b'] = commands['build']
commands['-i'] = commands['install']
commands['-d'] = commands['download']
@ -576,7 +576,7 @@ def main():
'clean-logs': argparse.clean_logs,
'-L': argparse.clean_logs,
'clean-tmp': argparse.clean_tmp,
'-T': argparse.clean_tmp,
'-D': argparse.clean_tmp,
'build': argparse.build,
'-b': argparse.build,
'install': argparse.install,

View file

@ -21,7 +21,7 @@ class Usage(Configs):
args = (
f'Usage: {Configs.prog_name} [{self.yellow}OPTIONS{self.endc}] [{self.cyan}COMMAND{self.endc}] <packages>\n'
f'\n slpkg [{self.cyan}COMMAND{self.endc}] [-u, update, -U, upgrade, -c, check-updates]\n'
f' slpkg [{self.cyan}COMMAND{self.endc}] [-L, clean-logs, -T, clean-tmp, -g, configs]\n'
f' slpkg [{self.cyan}COMMAND{self.endc}] [-L, clean-logs, -D, clean-tmp, -g, configs]\n'
f' slpkg [{self.cyan}COMMAND{self.endc}] [-b, build, -i, install, -d, download, -r, remove] <packages>\n'
f' slpkg [{self.cyan}COMMAND{self.endc}] [-f, find, -w, view, -s, search] <packages>\n'
f' slpkg [{self.cyan}COMMAND{self.endc}] [-e, dependees, -t, tracking] <packages>\n'
@ -46,7 +46,7 @@ class Usage(Configs):
f' {self.cyan}-c, check-updates{self.endc} Check for news on ChangeLog.txt.\n'
f' {self.cyan}-g, configs{self.endc} Edit the configuration file.\n'
f' {self.cyan}-L, clean-logs{self.endc} Clean dependencies log tracking.\n'
f' {self.cyan}-T, clean-tmp{self.endc} Delete all the downloaded sources.\n'
f' {self.cyan}-D, clean-tmp{self.endc} Delete all the downloaded sources.\n'
f' {self.cyan}-b, build{self.endc} <packages> Build only the packages.\n'
f' {self.cyan}-i, install{self.endc} <packages> Build and install the packages.\n'
f' {self.cyan}-d, download{self.endc} <packages> Download only the scripts and sources.\n'