xbps-bin: rename 'show-manual' target to 'list-manual', it's a better

name IMHO :-)

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091109015919-fl3jr6eehyy1ff1v
This commit is contained in:
Juan RP 2009-11-09 02:59:19 +01:00
parent 736fcbfdd0
commit 2b790a4c2f
2 changed files with 7 additions and 7 deletions

View File

@ -48,13 +48,13 @@ usage(void)
" check\t\t[<pkgname>|<all>]\n" " check\t\t[<pkgname>|<all>]\n"
" install\t\t<pkgname>\n" " install\t\t<pkgname>\n"
" list\n" " list\n"
" list-manual\n"
" purge\t\t[<pkgname>|<all>]\n" " purge\t\t[<pkgname>|<all>]\n"
" reconfigure\t\t[<pkgname>|<all>]\n" " reconfigure\t\t[<pkgname>|<all>]\n"
" remove\t\t<pkgname>\n" " remove\t\t<pkgname>\n"
" show\t\t<pkgname>\n" " show\t\t<pkgname>\n"
" show-deps\t\t<pkgname>\n" " show-deps\t\t<pkgname>\n"
" show-files\t\t<pkgname>\n" " show-files\t\t<pkgname>\n"
" show-manual\n"
" show-revdeps\t<pkgname>\n" " show-revdeps\t<pkgname>\n"
" update\t\t<pkgname>\n" " update\t\t<pkgname>\n"
" Options shared by all targets:\n" " Options shared by all targets:\n"
@ -290,9 +290,9 @@ main(int argc, char **argv)
rv = xbps_show_pkg_deps(argv[1]); rv = xbps_show_pkg_deps(argv[1]);
} else if (strcasecmp(argv[0], "show-manual") == 0) { } else if (strcasecmp(argv[0], "list-manual") == 0) {
/* /*
* Show packages that were installed manually, not as * List packages that were installed manually, not as
* dependencies. * dependencies.
*/ */
if (argc != 1) if (argc != 1)

View File

@ -75,6 +75,10 @@ Please note that all targets are *case insensitive*.
*list*:: *list*::
Lists all currently installed packages. Lists all currently installed packages.
*list-manual*::
Lists packages that were installed 'manually' by the user, i.e
not as dependencies of any other package.
*purge 'pkgname' | 'all'*:: *purge 'pkgname' | 'all'*::
Purge an installed package, *pkgname* or *all* packages. The 'purge' Purge an installed package, *pkgname* or *all* packages. The 'purge'
stage runs the *post-remove* action set in the *REMOVE* script in its stage runs the *post-remove* action set in the *REMOVE* script in its
@ -111,10 +115,6 @@ Please note that all targets are *case insensitive*.
*show-files 'pkgname'*:: *show-files 'pkgname'*::
Shows the list of files that 'pkgname' contains. Shows the list of files that 'pkgname' contains.
*show-manual*::
Shows the list of packages that were installed 'manually' by the
user, i.e not as dependencies of any other package.
*show-revdeps 'pkgname'*:: *show-revdeps 'pkgname'*::
Shows the reverse dependencies for 'pkgname'. Reverse dependencies Shows the reverse dependencies for 'pkgname'. Reverse dependencies
are packages that are currently depending in 'pkgname' directly. are packages that are currently depending in 'pkgname' directly.