diff --git a/README.rst b/README.rst index 9c830833..37ed1c8c 100644 --- a/README.rst +++ b/README.rst @@ -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 Build only the packages. -i, install Build and install the packages. -d, download Download only the scripts and sources. diff --git a/man/slpkg-fr.1 b/man/slpkg-fr.1 index 68abf6c6..60fe179b 100644 --- a/man/slpkg-fr.1 +++ b/man/slpkg-fr.1 @@ -4,7 +4,7 @@ .B slpkg - [OPTIONS] [COMMANDE] . .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 diff --git a/man/slpkg.1 b/man/slpkg.1 index 13f0c97d..4d376dc5 100644 --- a/man/slpkg.1 +++ b/man/slpkg.1 @@ -4,7 +4,7 @@ .B slpkg - [OPTIONS] [COMMAND] .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 diff --git a/slpkg/main.py b/slpkg/main.py index e745f049..e1c12c12 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -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, diff --git a/slpkg/views/cli_menu.py b/slpkg/views/cli_menu.py index 93501ca4..0f736c27 100644 --- a/slpkg/views/cli_menu.py +++ b/slpkg/views/cli_menu.py @@ -21,7 +21,7 @@ class Usage(Configs): args = ( f'Usage: {Configs.prog_name} [{self.yellow}OPTIONS{self.endc}] [{self.cyan}COMMAND{self.endc}] \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] \n' f' slpkg [{self.cyan}COMMAND{self.endc}] [-f, find, -w, view, -s, search] \n' f' slpkg [{self.cyan}COMMAND{self.endc}] [-e, dependees, -t, tracking] \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} Build only the packages.\n' f' {self.cyan}-i, install{self.endc} Build and install the packages.\n' f' {self.cyan}-d, download{self.endc} Download only the scripts and sources.\n'