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

@ -412,67 +412,70 @@ Command Line Tool Usage
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.
-g | --config, print, edit, reset Configuration file management.
Print, edit the configuration file Print, edit the configuration file
or reset in the default values. or reset in the default values.
-l, --list, [repository], --index, Print a list of all available -l | --list, [repository], --index, Print a list of all available
--installed packages repository, index or print --installed packages repository, index or
only packages installed on the print only packages installed on
system. the system.
-c, --check, [repository], --upgrade, Check for updated packages from the -c | --check, [repository], --upgrade, Check for updated packages from
--skip=[...], --resolve--off repositories and install with all --skip=[...], --resolve--off the repositories and install with
--checklist dependencies. --checklist all dependencies.
-s, --sync, [repository] [package...], Sync packages. Install packages -s | --sync, [repository] [package...], Sync packages. Install packages
--resolve-off, --download-only, directly from remote repositories --resolve-off, --download-only, directly from remote repositories
--directory-prefix=[dir], --case-ins with all dependencies. --directory-prefix=[dir], --case-ins with all dependencies.
-t, --tracking, [repository] [package], Tracking package dependencies and -t | --tracking, [repository] [package], Tracking package dependencies and
--check-deps, --graph=[type], print package dependencies tree with --check-deps, --graph=[type], print package dependencies tree
--case-ins highlight if packages is installed. --case-ins with highlight if packages is
Also check if dependencies used or installed. Also check if
drawing dependencies diagram. dependencies used or drawing
-p, --desc, [repository] [package], Print description of a package dependencies diagram.
-p | --desc, [repository] [package], Print description of a package
--color=[] directly from the repository and --color=[] directly from the repository and
change color text. change color text.
-n, --network, [package], --checklist, View a standard of SBo page in -n | --network, [package], --checklist, View a standard of SBo page in
--case-ins terminal and manage multiple options --case-ins terminal and manage multiple
like reading, downloading, building options like reading, downloading,
installation, etc. building, installation, etc.
-F, --FIND, [package...], --case-ins Find packages from repositories and -F | --FIND, [package...], --case-ins Find packages from repositories
search at each enabled repository and search at each enabled
and prints results. repository and prints results.
-f, --find, [package...], --case-ins Find and print installed packages -f | --find, [package...], --case-ins Find and print installed packages
reporting the size and the sum. reporting the size and the sum.
-i, --installpkg, [options] [package...] Installs single or multiple *.tgz -i | --installpkg, [options] [package...] Installs single or multiple *.tgz
options=[--warn, --md5sum, --root, (or .tbz, .tlz, .txz) Slackware options=[--warn, --md5sum, --root, (or .tbz, .tlz, .txz) Slackware
--infobox, --menu, --terse, --ask, binary packages designed for use --infobox, --menu, --terse, --ask, binary packages designed for use
--priority, --tagfile] with the Slackware Linux --priority, --tagfile] with the Slackware Linux
distribution onto your system. distribution onto your system.
-u, --upgradepkg, [options] [package...] Upgrade single or multiple Slackware -u | --upgradepkg, [options] [package...] Upgrade single or multiple
options=[--dry-run, --install-new, binary packages from an older options=[--dry-run, --install-new, Slackware binary packages from
--reinstall, --verbose] version to a newer one. --reinstall, --verbose] an older version to a newer one.
-r, --removepkg, [options] [package...], Removes a previously installed -r | --removepkg, [options] [package...], Removes a previously installed
--deps, --check-deps, --tag, Slackware binary packages, --deps, --check-deps, --tag, Slackware binary packages,
--checklist while writing a progress report --checklist while writing a progress report
options=[-warn, -preserve, -copy to the standard output. options=[-warn, -preserve, -copy, to the standard output.
-keep] Use only package name. -keep] Use only package name.
-d, --display, [package...] Display the installed packages -d | --display, [package...] Display the installed packages
contents and file list. contents and file list.
contents and file list.
Slpkg Examples Slpkg Examples
-------------- --------------

View file

@ -67,66 +67,68 @@ Commands:
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.
-g | --config, print, edit, reset Configuration file management.
Print, edit the configuration file Print, edit the configuration file
or reset in the default values. or reset in the default values.
-l, --list, [repository], --index, Print a list of all available -l | --list, [repository], --index, Print a list of all available
--installed packages repository, index or print --installed packages repository, index or
only packages installed on the print only packages installed on
system. the system.
-c, --check, [repository], --upgrade, Check for updated packages from the -c | --check, [repository], --upgrade, Check for updated packages from
--skip=[...], --resolve--off repositories and install with all --skip=[...], --resolve--off the repositories and install with
--checklist dependencies. --checklist all dependencies.
-s, --sync, [repository] [package...], Sync packages. Install packages -s | --sync, [repository] [package...], Sync packages. Install packages
--resolve-off, --download-only, directly from remote repositories --resolve-off, --download-only, directly from remote repositories
--directory-prefix=[dir], --case-ins with all dependencies. --directory-prefix=[dir], --case-ins with all dependencies.
-t, --tracking, [repository] [package], Tracking package dependencies and -t | --tracking, [repository] [package], Tracking package dependencies and
--check-deps, --graph=[type], print package dependencies tree with --check-deps, --graph=[type], print package dependencies tree
--case-ins highlight if packages is installed. --case-ins with highlight if packages is
Also check if dependencies used or installed. Also check if
drawing dependencies diagram. dependencies used or drawing
-p, --desc, [repository] [package], Print description of a package dependencies diagram.
-p | --desc, [repository] [package], Print description of a package
--color=[] directly from the repository and --color=[] directly from the repository and
change color text. change color text.
-n, --network, [package], --checklist, View a standard of SBo page in -n | --network, [package], --checklist, View a standard of SBo page in
--case-ins terminal and manage multiple options --case-ins terminal and manage multiple
like reading, downloading, building options like reading, downloading,
installation, etc. building, installation, etc.
-F, --FIND, [package...], --case-ins Find packages from repositories and -F | --FIND, [package...], --case-ins Find packages from repositories
search at each enabled repository and search at each enabled
and prints results. repository and prints results.
-f, --find, [package...], --case-ins Find and print installed packages -f | --find, [package...], --case-ins Find and print installed packages
reporting the size and the sum. reporting the size and the sum.
-i, --installpkg, [options] [package...] Installs single or multiple *.tgz -i | --installpkg, [options] [package...] Installs single or multiple *.tgz
options=[--warn, --md5sum, --root, (or .tbz, .tlz, .txz) Slackware options=[--warn, --md5sum, --root, (or .tbz, .tlz, .txz) Slackware
--infobox, --menu, --terse, --ask, binary packages designed for use --infobox, --menu, --terse, --ask, binary packages designed for use
--priority, --tagfile] with the Slackware Linux --priority, --tagfile] with the Slackware Linux
distribution onto your system. distribution onto your system.
-u, --upgradepkg, [options] [package...] Upgrade single or multiple Slackware -u | --upgradepkg, [options] [package...] Upgrade single or multiple
options=[--dry-run, --install-new, binary packages from an older options=[--dry-run, --install-new, Slackware binary packages from
--reinstall, --verbose] version to a newer one. --reinstall, --verbose] an older version to a newer one.
-r, --removepkg, [options] [package...], Removes a previously installed -r | --removepkg, [options] [package...], Removes a previously installed
--deps, --check-deps, --tag, Slackware binary packages, --deps, --check-deps, --tag, Slackware binary packages,
--checklist while writing a progress report --checklist while writing a progress report
options=[-warn, -preserve, -copy, to the standard output. options=[-warn, -preserve, -copy, to the standard output.
-keep] Use only package name. -keep] Use only package name.
-d, --display, [package...] Display the installed packages -d | --display, [package...] Display the installed packages
contents and file list. 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.