Updated for help

This commit is contained in:
Dimitris Zlatanidis 2024-03-22 22:52:38 +02:00
parent fdc20b3130
commit 370f9bcfb7

View file

@ -50,36 +50,42 @@ class Usage(Configs):
f'[{self.yellow}OPTIONS{self.endc}] <packages>\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} <packages> Build only the packages.\n'
f' {self.cyan}-i, install{self.endc} <packages> Build and install the packages.\n'
f' {self.cyan}-R, remove{self.endc} <packages> Remove installed packages.\n'
f' {self.cyan}-d, download{self.endc} <packages> Download only the scripts and sources.\n'
f' {self.cyan}-f, find{self.endc} <packages> Find installed packages.\n'
f' {self.cyan}-w, view{self.endc} <packages> View packages from the repository.\n'
f' {self.cyan}-s, search{self.endc} <packages> Search packages from the repository.\n'
f' {self.cyan}-e, dependees{self.endc} <packages> Show which packages depend on.\n'
f' {self.cyan}-t, tracking{self.endc} <packages> 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} <packages> Build SBo scripts with dependencies without\n'
f'{"":>28}install it.\n'
f' {self.cyan}-i, install{self.endc} <packages> Build SBo scripts and install it with their\n'
f'{"":>28}dependencies or install binary packages.\n'
f' {self.cyan}-R, remove{self.endc} <packages> Remove installed packages with dependencies.\n'
f' {self.cyan}-d, download{self.endc} <packages> Download only the packages without build\n'
f'{"":>28}or install.\n'
f' {self.cyan}-f, find{self.endc} <packages> Find and display the installed packages.\n'
f' {self.cyan}-w, view{self.endc} <packages> Display package information by the repository.\n'
f' {self.cyan}-s, search{self.endc} <packages> This will match each package by the repository.\n'
f' {self.cyan}-e, dependees{self.endc} <packages> Display packages that depend on other packages.\n'
f' {self.cyan}-t, tracking{self.endc} <packages> 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'.")