mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Rename options
This commit is contained in:
parent
69e2ca7794
commit
16742d222f
4 changed files with 19 additions and 19 deletions
|
@ -4,7 +4,7 @@
|
||||||
.B slpkg - [OPTIONS] [COMMANDE] <packages>.
|
.B slpkg - [OPTIONS] [COMMANDE] <packages>.
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.P
|
.P
|
||||||
slpkg [-h|-v] [-u, update] [-U, upgrade] [-cu, check-updates] [-g, configs] [-cl, clean-logs] [-ct, clean-tmp] [-b, build] [-i, install] [-d, download]
|
slpkg [-h|-v] [-u, update] [-U, upgrade] [-c, check-updates] [-g, configs] [-L, clean-logs] [-T, 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, 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
|
-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
|
.SH DESCRIPTION
|
||||||
|
@ -27,17 +27,17 @@ Mettre à jour la liste des paquets et la base de données.
|
||||||
Mettre à niveau tous les paquets installés si une version plus récente existe dans le dépôt.
|
Mettre à niveau tous les paquets installés si une version plus récente existe dans le dépôt.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
.B -cu, check-updates
|
.B -c, check-updates
|
||||||
.RS
|
.RS
|
||||||
Vérifier si le fichier \fBChangeLog.txt\fP du SlackBuild contient des mises à jour.
|
Vérifier si le fichier \fBChangeLog.txt\fP du SlackBuild contient des mises à jour.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
.B -cl, clean-logs
|
.B -L, clean-logs
|
||||||
.RS
|
.RS
|
||||||
Nettoyer les journaux de suivi de dépendances. \fBAttention\fP, après cette procédure vous devrez supprimer les dépendances à la main.
|
Nettoyer les journaux de suivi de dépendances. \fBAttention\fP, après cette procédure vous devrez supprimer les dépendances à la main.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
.B -ct, clean-tmp
|
.B -T, clean-tmp
|
||||||
.RS
|
.RS
|
||||||
Supprimer tous les scripts et sources des SlackBuilds téléchargés.
|
Supprimer tous les scripts et sources des SlackBuilds téléchargés.
|
||||||
.RE
|
.RE
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
.B slpkg - [OPTIONS] [COMMAND] <packages>
|
.B slpkg - [OPTIONS] [COMMAND] <packages>
|
||||||
.SH SYNAPSES
|
.SH SYNAPSES
|
||||||
.P
|
.P
|
||||||
slpkg [-h|-v] [-u, update] [-U, upgrade] [-cu, check-updates] [-g, configs] [-cl, clean-logs] [-ct, clean-tmp] [-b, build] [-i, install] [-d, download]
|
slpkg [-h|-v] [-u, update] [-U, upgrade] [-c, check-updates] [-g, configs] [-L, clean-logs] [-T, 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, 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
|
-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
|
.SH DESCRIPTION
|
||||||
|
@ -27,17 +27,17 @@ Updates the package list and the database.
|
||||||
Upgrade all the installed packages if the newer version exists in the repository.
|
Upgrade all the installed packages if the newer version exists in the repository.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
.B -cu, check-updates
|
.B -c, check-updates
|
||||||
.RS
|
.RS
|
||||||
Check if there is any news on the SlackBuild's ChangeLog.txt file.
|
Check if there is any news on the SlackBuild's ChangeLog.txt file.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
.B -cl, clean-logs
|
.B -L, clean-logs
|
||||||
.RS
|
.RS
|
||||||
Cleans dependencies log tracking. After that procedure you should remove dependencies by hand.
|
Cleans dependencies log tracking. After that procedure you should remove dependencies by hand.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
.B -ct, clean-tmp
|
.B -T, clean-tmp
|
||||||
.RS
|
.RS
|
||||||
Deletes all the downloaded SlackBuilds scripts and sources.
|
Deletes all the downloaded SlackBuilds scripts and sources.
|
||||||
.RE
|
.RE
|
||||||
|
|
|
@ -244,10 +244,10 @@ class Argparse(Configs):
|
||||||
commands['-v'] = commands['--version']
|
commands['-v'] = commands['--version']
|
||||||
commands['-u'] = commands['update']
|
commands['-u'] = commands['update']
|
||||||
commands['-U'] = commands['upgrade']
|
commands['-U'] = commands['upgrade']
|
||||||
commands['-cu'] = commands['check-updates']
|
commands['-c'] = commands['check-updates']
|
||||||
commands['-g'] = commands['configs']
|
commands['-g'] = commands['configs']
|
||||||
commands['-cl'] = commands['clean-logs']
|
commands['-L'] = commands['clean-logs']
|
||||||
commands['-ct'] = commands['clean-tmp']
|
commands['-T'] = commands['clean-tmp']
|
||||||
commands['-b'] = commands['build']
|
commands['-b'] = commands['build']
|
||||||
commands['-i'] = commands['install']
|
commands['-i'] = commands['install']
|
||||||
commands['-d'] = commands['download']
|
commands['-d'] = commands['download']
|
||||||
|
@ -570,13 +570,13 @@ def main():
|
||||||
'upgrade': argparse.upgrade,
|
'upgrade': argparse.upgrade,
|
||||||
'-U': argparse.upgrade,
|
'-U': argparse.upgrade,
|
||||||
'check-updates': argparse.check_updates,
|
'check-updates': argparse.check_updates,
|
||||||
'-cu': argparse.check_updates,
|
'-c': argparse.check_updates,
|
||||||
'configs': argparse.edit_configs,
|
'configs': argparse.edit_configs,
|
||||||
'-g': argparse.edit_configs,
|
'-g': argparse.edit_configs,
|
||||||
'clean-logs': argparse.clean_logs,
|
'clean-logs': argparse.clean_logs,
|
||||||
'-cl': argparse.clean_logs,
|
'-L': argparse.clean_logs,
|
||||||
'clean-tmp': argparse.clean_tmp,
|
'clean-tmp': argparse.clean_tmp,
|
||||||
'-ct': argparse.clean_tmp,
|
'-T': argparse.clean_tmp,
|
||||||
'build': argparse.build,
|
'build': argparse.build,
|
||||||
'-b': argparse.build,
|
'-b': argparse.build,
|
||||||
'install': argparse.install,
|
'install': argparse.install,
|
||||||
|
|
|
@ -20,8 +20,8 @@ class Usage(Configs):
|
||||||
""" Prints the short menu. """
|
""" Prints the short menu. """
|
||||||
args = (
|
args = (
|
||||||
f'Usage: {Configs.prog_name} [{self.yellow}OPTIONS{self.endc}] [{self.cyan}COMMAND{self.endc}] <packages>\n'
|
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, -cu, check-updates]\n'
|
f'\n slpkg [{self.cyan}COMMAND{self.endc}] [-u, update, -U, upgrade, -c, check-updates]\n'
|
||||||
f' slpkg [{self.cyan}COMMAND{self.endc}] [-cl, clean-logs, -ct, clean-tmp, -g, configs]\n'
|
f' slpkg [{self.cyan}COMMAND{self.endc}] [-L, clean-logs, -T, 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}] [-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}] [-f, find, -w, view, -s, search] <packages>\n'
|
||||||
f' slpkg [{self.cyan}COMMAND{self.endc}] [-e, dependees, -t, tracking] <packages>\n'
|
f' slpkg [{self.cyan}COMMAND{self.endc}] [-e, dependees, -t, tracking] <packages>\n'
|
||||||
|
@ -43,10 +43,10 @@ class Usage(Configs):
|
||||||
f'\n{self.bold}COMMANDS:{self.endc}\n'
|
f'\n{self.bold}COMMANDS:{self.endc}\n'
|
||||||
f' {self.red}-u, update{self.endc} Update the package lists.\n'
|
f' {self.red}-u, update{self.endc} Update the package lists.\n'
|
||||||
f' {self.cyan}-U, upgrade{self.endc} Upgrade all the packages.\n'
|
f' {self.cyan}-U, upgrade{self.endc} Upgrade all the packages.\n'
|
||||||
f' {self.cyan}-cu, check-updates{self.endc} Check for news on ChangeLog.txt.\n'
|
f' {self.cyan}-c, check-updates{self.endc} Check for news on ChangeLog.txt.\n'
|
||||||
f' {self.cyan}-cl, clean-logs{self.endc} Clean dependencies log tracking.\n'
|
|
||||||
f' {self.cyan}-ct, clean-tmp{self.endc} Delete all the downloaded sources.\n'
|
|
||||||
f' {self.cyan}-g, configs{self.endc} Edit the configuration file.\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}-b, build{self.endc} <packages> Build only the packages.\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}-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'
|
f' {self.cyan}-d, download{self.endc} <packages> Download only the scripts and sources.\n'
|
||||||
|
|
Loading…
Reference in a new issue