Update help menu

This commit is contained in:
Dimitris Zlatanidis 2016-01-21 23:24:28 +02:00
parent f7de69ff0b
commit 61537e5451
3 changed files with 168 additions and 162 deletions

View file

@ -1,9 +1,10 @@
3.0.6 - 20/01/2016 3.0.6 - 21/01/2016
Fixed: Fixed:
- "IndexError: list index out of range" when remove packages with "--tag" option - "IndexError: list index out of range" when remove packages with "--tag" option
Updated: Updated:
- README.rst file - README.rst file
- Usage and help options - Usage and help options
- Positions arguments in "--desc" and "--network" options
3.0.5 - 06/01/2016 3.0.5 - 06/01/2016
Updated: Updated:

View file

@ -391,88 +391,91 @@ Command Line Tool Usage
|_| |___/ |_| |___/
Commands: Commands:
update, --only=[...] Run this command to update all update, --only=[...] Run this command to update all
the packages list. the packages list.
upgrade, --only=[...] Delete and recreate all packages upgrade, --only=[...] Delete and recreate all packages
lists. lists.
repo-add [repository name] [URL] Add custom repository. repo-add [repository name] [URL] Add custom repository.
repo-remove [repository] Remove custom repository. repo-remove [repository] Remove custom repository.
repo-enable Enable or disable default repo-enable Enable or disable default
repositories via dialog utility. repositories via dialog utility.
repo-list Print a list of all the repo-list Print a list of all the
repositories. repositories.
repo-info [repository] Get information about a repo-info [repository] Get information about a
repository. repository.
update slpkg Upgrade the program directly from update slpkg Upgrade the program directly from
repository. repository.
health, --silent Health check installed packages. health, --silent Health check installed packages.
deps-status, --tree, --graph=[type] Print dependencies status used by deps-status, --tree, --graph=[type] Print dependencies status used by
packages or drawing dependencies packages or drawing dependencies
diagram. diagram.
new-config Manage .new configuration files. new-config Manage .new configuration files.
Optional arguments: Optional arguments:
-h, --help Print this help message and exit. -h | --help Print this help message and exit.
-v, --version Print program version and exit. -v | --version Print program version and exit.
-a, --autobuild, [script] [source...] Auto build SBo packages. -a | --autobuild, [script] [source...] Auto build SBo packages.
If you already have downloaded the If you already have downloaded the
script and the source code you can script and the source code you can
build a new package with this build a new package with this
command. command.
-b, --blacklist, [package...] --add, Manage packages in the blacklist. -b | --blacklist, [package...] --add, Manage packages in the blacklist.
--remove, list Add or remove packages and print --remove, list Add or remove packages and print
the list. Each package is added the list. Each package is added
here will not be accessible by the here will not be accessible by the
program. program.
-q, --queue, [package...] --add, Manage SBo packages in the queue. -q | --queue, [package...] --add, Manage SBo packages in the queue.
--remove, list, build, install, Add or remove and print the list --remove, list, build, install, Add or remove and print the list
build-install of packages. Build and then install build-install of packages. Build and then
the packages from the queue. install the packages from the
-g, --config, print, edit, reset Configuration file management. queue.
Print, edit the configuration file -g | --config, print, edit, reset Configuration file management.
or reset in the default values. Print, edit the configuration file
-l, --list, [repository], --index, Print a list of all available or reset in the default values.
--installed packages repository, index or print -l | --list, [repository], --index, Print a list of all available
only packages installed on the --installed packages repository, index or
system. print only packages installed on
-c, --check, [repository], --upgrade, Check for updated packages from the the system.
--skip=[...], --resolve--off repositories and install with all -c | --check, [repository], --upgrade, Check for updated packages from
--checklist dependencies. --skip=[...], --resolve--off the repositories and install with
-s, --sync, [repository] [package...], Sync packages. Install packages --checklist all dependencies.
--resolve-off, --download-only, directly from remote repositories -s | --sync, [repository] [package...], Sync packages. Install packages
--directory-prefix=[dir], --case-ins with all dependencies. --resolve-off, --download-only, directly from remote repositories
-t, --tracking, [repository] [package], Tracking package dependencies and --directory-prefix=[dir], --case-ins with all dependencies.
--check-deps, --graph=[type], print package dependencies tree with -t | --tracking, [repository] [package], Tracking package dependencies and
--case-ins highlight if packages is installed. --check-deps, --graph=[type], print package dependencies tree
Also check if dependencies used or --case-ins with highlight if packages is
drawing dependencies diagram. installed. Also check if
-p, --desc, [repository] [package], Print description of a package dependencies used or drawing
--color=[] directly from the repository and dependencies diagram.
change color text. -p | --desc, [repository] [package], Print description of a package
-n, --network, [package], --checklist, View a standard of SBo page in --color=[] directly from the repository and
--case-ins terminal and manage multiple options change color text.
like reading, downloading, building -n | --network, [package], --checklist, View a standard of SBo page in
installation, etc. --case-ins terminal and manage multiple
-F, --FIND, [package...], --case-ins Find packages from repositories and options like reading, downloading,
search at each enabled repository building, installation, etc.
and prints results. -F | --FIND, [package...], --case-ins Find packages from repositories
-f, --find, [package...], --case-ins Find and print installed packages and search at each enabled
reporting the size and the sum. repository and prints results.
-i, --installpkg, [options] [package...] Installs single or multiple *.tgz -f | --find, [package...], --case-ins Find and print installed packages
options=[--warn, --md5sum, --root, (or .tbz, .tlz, .txz) Slackware reporting the size and the sum.
--infobox, --menu, --terse, --ask, binary packages designed for use -i | --installpkg, [options] [package...] Installs single or multiple *.tgz
--priority, --tagfile] with the Slackware Linux options=[--warn, --md5sum, --root, (or .tbz, .tlz, .txz) Slackware
distribution onto your system. --infobox, --menu, --terse, --ask, binary packages designed for use
-u, --upgradepkg, [options] [package...] Upgrade single or multiple Slackware --priority, --tagfile] with the Slackware Linux
options=[--dry-run, --install-new, binary packages from an older distribution onto your system.
--reinstall, --verbose] version to a newer one. -u | --upgradepkg, [options] [package...] Upgrade single or multiple
-r, --removepkg, [options] [package...], Removes a previously installed options=[--dry-run, --install-new, Slackware binary packages from
--deps, --check-deps, --tag, Slackware binary packages, --reinstall, --verbose] an older version to a newer one.
--checklist while writing a progress report -r | --removepkg, [options] [package...], Removes a previously installed
options=[-warn, -preserve, -copy to the standard output. --deps, --check-deps, --tag, Slackware binary packages,
-keep] Use only package name. --checklist while writing a progress report
-d, --display, [package...] Display the installed packages options=[-warn, -preserve, -copy, to the standard output.
contents and file list. -keep] Use only package name.
-d | --display, [package...] Display the installed packages
contents and file list.
contents and file list.
Slpkg Examples Slpkg Examples
-------------- --------------

View file

@ -46,88 +46,90 @@ Slpkg is a user-friendly package manager for Slackware installations
|_| |___/ |_| |___/
Commands: Commands:
update, --only=[...] Run this command to update all update, --only=[...] Run this command to update all
the packages list. the packages list.
upgrade, --only=[...] Delete and recreate all packages upgrade, --only=[...] Delete and recreate all packages
lists. lists.
repo-add [repository name] [URL] Add custom repository. repo-add [repository name] [URL] Add custom repository.
repo-remove [repository] Remove custom repository. repo-remove [repository] Remove custom repository.
repo-enable Enable or disable default repo-enable Enable or disable default
repositories via dialog utility. repositories via dialog utility.
repo-list Print a list of all the repo-list Print a list of all the
repositories. repositories.
repo-info [repository] Get information about a repo-info [repository] Get information about a
repository. repository.
update slpkg Upgrade the program directly from update slpkg Upgrade the program directly from
repository. repository.
health, --silent Health check installed packages. health, --silent Health check installed packages.
deps-status, --tree, --graph=[type] Print dependencies status used by deps-status, --tree, --graph=[type] Print dependencies status used by
packages or drawing dependencies packages or drawing dependencies
diagram. diagram.
new-config Manage .new configuration files. new-config Manage .new configuration files.
Optional arguments: Optional arguments:
-h, --help Print this help message and exit. -h | --help Print this help message and exit.
-v, --version Print program version and exit. -v | --version Print program version and exit.
-a, --autobuild, [script] [source...] Auto build SBo packages. -a | --autobuild, [script] [source...] Auto build SBo packages.
If you already have downloaded the If you already have downloaded the
script and the source code you can script and the source code you can
build a new package with this build a new package with this
command. command.
-b, --blacklist, [package...] --add, Manage packages in the blacklist. -b | --blacklist, [package...] --add, Manage packages in the blacklist.
--remove, list Add or remove packages and print --remove, list Add or remove packages and print
the list. Each package is added the list. Each package is added
here will not be accessible by the here will not be accessible by the
program. program.
-q, --queue, [package...] --add, Manage SBo packages in the queue. -q | --queue, [package...] --add, Manage SBo packages in the queue.
--remove, list, build, install, Add or remove and print the list --remove, list, build, install, Add or remove and print the list
build-install of packages. Build and then install build-install of packages. Build and then
the packages from the queue. install the packages from the
-g, --config, print, edit, reset Configuration file management. queue.
Print, edit the configuration file -g | --config, print, edit, reset Configuration file management.
or reset in the default values. Print, edit the configuration file
-l, --list, [repository], --index, Print a list of all available or reset in the default values.
--installed packages repository, index or print -l | --list, [repository], --index, Print a list of all available
only packages installed on the --installed packages repository, index or
system. print only packages installed on
-c, --check, [repository], --upgrade, Check for updated packages from the the system.
--skip=[...], --resolve--off repositories and install with all -c | --check, [repository], --upgrade, Check for updated packages from
--checklist dependencies. --skip=[...], --resolve--off the repositories and install with
-s, --sync, [repository] [package...], Sync packages. Install packages --checklist all dependencies.
--resolve-off, --download-only, directly from remote repositories -s | --sync, [repository] [package...], Sync packages. Install packages
--directory-prefix=[dir], --case-ins with all dependencies. --resolve-off, --download-only, directly from remote repositories
-t, --tracking, [repository] [package], Tracking package dependencies and --directory-prefix=[dir], --case-ins with all dependencies.
--check-deps, --graph=[type], print package dependencies tree with -t | --tracking, [repository] [package], Tracking package dependencies and
--case-ins highlight if packages is installed. --check-deps, --graph=[type], print package dependencies tree
Also check if dependencies used or --case-ins with highlight if packages is
drawing dependencies diagram. installed. Also check if
-p, --desc, [repository] [package], Print description of a package dependencies used or drawing
--color=[] directly from the repository and dependencies diagram.
change color text. -p | --desc, [repository] [package], Print description of a package
-n, --network, [package], --checklist, View a standard of SBo page in --color=[] directly from the repository and
--case-ins terminal and manage multiple options change color text.
like reading, downloading, building -n | --network, [package], --checklist, View a standard of SBo page in
installation, etc. --case-ins terminal and manage multiple
-F, --FIND, [package...], --case-ins Find packages from repositories and options like reading, downloading,
search at each enabled repository building, installation, etc.
and prints results. -F | --FIND, [package...], --case-ins Find packages from repositories
-f, --find, [package...], --case-ins Find and print installed packages and search at each enabled
reporting the size and the sum. repository and prints results.
-i, --installpkg, [options] [package...] Installs single or multiple *.tgz -f | --find, [package...], --case-ins Find and print installed packages
options=[--warn, --md5sum, --root, (or .tbz, .tlz, .txz) Slackware reporting the size and the sum.
--infobox, --menu, --terse, --ask, binary packages designed for use -i | --installpkg, [options] [package...] Installs single or multiple *.tgz
--priority, --tagfile] with the Slackware Linux options=[--warn, --md5sum, --root, (or .tbz, .tlz, .txz) Slackware
distribution onto your system. --infobox, --menu, --terse, --ask, binary packages designed for use
-u, --upgradepkg, [options] [package...] Upgrade single or multiple Slackware --priority, --tagfile] with the Slackware Linux
options=[--dry-run, --install-new, binary packages from an older distribution onto your system.
--reinstall, --verbose] version to a newer one. -u | --upgradepkg, [options] [package...] Upgrade single or multiple
-r, --removepkg, [options] [package...], Removes a previously installed options=[--dry-run, --install-new, Slackware binary packages from
--deps, --check-deps, --tag, Slackware binary packages, --reinstall, --verbose] an older version to a newer one.
--checklist while writing a progress report -r | --removepkg, [options] [package...], Removes a previously installed
options=[-warn, -preserve, -copy, to the standard output. --deps, --check-deps, --tag, Slackware binary packages,
-keep] Use only package name. --checklist while writing a progress report
-d, --display, [package...] Display the installed packages options=[-warn, -preserve, -copy, to the standard output.
contents and file list. -keep] Use only package name.
-d | --display, [package...] Display the installed packages
contents and file list.
You can read more about slpkg from manpage or see examples from readme file. You can read more about slpkg from manpage or see examples from readme file.
Issues: https://github.com/dslackw/slpkg/issues Issues: https://github.com/dslackw/slpkg/issues