From 370f9bcfb75c658c1175e28533e3ddf4c02b733d Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 22 Mar 2024 22:52:38 +0200 Subject: [PATCH] Updated for help --- slpkg/views/cli_menu.py | 64 ++++++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 29 deletions(-) diff --git a/slpkg/views/cli_menu.py b/slpkg/views/cli_menu.py index db0ec9fe..a1e2671c 100644 --- a/slpkg/views/cli_menu.py +++ b/slpkg/views/cli_menu.py @@ -50,36 +50,42 @@ class Usage(Configs): f'[{self.yellow}OPTIONS{self.endc}] \n' f'\n{self.bold}DESCRIPTION:{self.endc}\n Package manager utility for Slackware.\n' f'\n{self.bold}COMMANDS:{self.endc}\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}-I, repo-info{self.endc} Prints the repositories information.\n' - f' {self.cyan}-g, configs{self.endc} Edit the configuration file.\n' - f' {self.cyan}-T, 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}-R, remove{self.endc} Remove installed packages.\n' - f' {self.cyan}-d, download{self.endc} Download only the scripts and sources.\n' - f' {self.cyan}-f, find{self.endc} Find installed packages.\n' - f' {self.cyan}-w, view{self.endc} View packages from the repository.\n' - f' {self.cyan}-s, search{self.endc} Search packages from the repository.\n' - f' {self.cyan}-e, dependees{self.endc} Show which packages depend on.\n' - f' {self.cyan}-t, tracking{self.endc} Tracking the packages dependencies.\n' + f' {self.red}-u, update{self.endc} Synchronizes the repositories database\n' + f'{"":>28}with your local database.\n' + f' {self.cyan}-U, upgrade{self.endc} Upgrade the installed packages with\n' + f'{"":>28}dependencies.\n' + f' {self.cyan}-I, repo-info{self.endc} Display the repositories information.\n' + f' {self.cyan}-g, configs{self.endc} Edit the configuration file with dialog\n' + f'{"":>28}utility.\n' + f' {self.cyan}-T, clean-tmp{self.endc} Remove old downloaded packages and scripts.\n' + f' {self.cyan}-b, build{self.endc} Build SBo scripts with dependencies without\n' + f'{"":>28}install it.\n' + f' {self.cyan}-i, install{self.endc} Build SBo scripts and install it with their\n' + f'{"":>28}dependencies or install binary packages.\n' + f' {self.cyan}-R, remove{self.endc} Remove installed packages with dependencies.\n' + f' {self.cyan}-d, download{self.endc} Download only the packages without build\n' + f'{"":>28}or install.\n' + f' {self.cyan}-f, find{self.endc} Find and display the installed packages.\n' + f' {self.cyan}-w, view{self.endc} Display package information by the repository.\n' + f' {self.cyan}-s, search{self.endc} This will match each package by the repository.\n' + f' {self.cyan}-e, dependees{self.endc} Display packages that depend on other packages.\n' + f' {self.cyan}-t, tracking{self.endc} Display and tracking the packages dependencies.\n' f'\n{self.bold}OPTIONS:{self.endc}\n' - f' {self.yellow}-y, --yes{self.endc} Answer Yes to all questions.\n' - f' {self.yellow}-c, --check{self.endc} Check a procedure before you run it.\n' - f' {self.yellow}-O, --resolve-off{self.endc} Turns off dependency resolving.\n' - f' {self.yellow}-r, --reinstall{self.endc} Upgrade packages of the same version.\n' - f' {self.yellow}-k, --skip-installed{self.endc} Skip installed packages.\n' - f' {self.yellow}-E, --full-reverse{self.endc} Full reverse dependency.\n' - f' {self.yellow}-S, --search{self.endc} Search and load packages using the dialog.\n' - f' {self.yellow}-n, --silent{self.endc} Enable silent mode.\n' - f' {self.yellow}-p, --pkg-version{self.endc} Print the repository package version.\n' - f' {self.yellow}-P, --parallel{self.endc} Download files in parallel.\n' - f' {self.yellow}-m, --no-case{self.endc} Case-insensitive pattern matching.\n' - f' {self.yellow}-o, --repository={self.endc}NAME Change repository you want to work.\n' - f' {self.yellow}-z, --directory={self.endc}PATH Download files to a specific path.\n' - '\n -h, --help Show this message and exit.\n' - ' -v, --version Print version and exit.\n' + f' {self.yellow}-y, --yes{self.endc} Answer Yes to all questions.\n' + f' {self.yellow}-c, --check{self.endc} Check a procedure before you run it.\n' + f' {self.yellow}-O, --resolve-off{self.endc} Turns off dependency resolving.\n' + f' {self.yellow}-r, --reinstall{self.endc} Upgrade packages of the same version.\n' + f' {self.yellow}-k, --skip-installed{self.endc} Skip installed packages.\n' + f' {self.yellow}-E, --full-reverse{self.endc} Display the full reverse dependency.\n' + f' {self.yellow}-S, --search{self.endc} Search and load packages using the dialog.\n' + f' {self.yellow}-n, --silent{self.endc} Enable silent mode.\n' + f' {self.yellow}-p, --pkg-version{self.endc} Print the repository package version.\n' + f' {self.yellow}-P, --parallel{self.endc} Download files in parallel.\n' + f' {self.yellow}-m, --no-case{self.endc} Case-insensitive pattern matching.\n' + f' {self.yellow}-o, --repository={self.endc}NAME Change repository you want to work.\n' + f' {self.yellow}-z, --directory={self.endc}PATH Download files to a specific path.\n' + '\n -h, --help Show this message and exit.\n' + ' -v, --version Print version and exit.\n' "\nIf you need more information try to use slpkg manpage.\n" "Edit the config file in the /etc/slpkg/slpkg.toml or 'slpkg configs'.")