xbps-bin: rename the 'files' target to 'show-files' for consistency.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091005220659-l3rdop78ju04mi9v
This commit is contained in:
Juan RP 2009-10-06 00:06:59 +02:00
parent 042084b306
commit 06f70e182c

View File

@ -41,19 +41,20 @@ usage(void)
{ {
printf("Usage: xbps-bin [options] [target] [arguments]\n\n" printf("Usage: xbps-bin [options] [target] [arguments]\n\n"
" Available targets:\n" " Available targets:\n"
" autoremove, autoupdate, check, files, install, list\n" " autoremove, autoupdate, check, install, list, purge\n"
" purge, remove, show, show-deps, show-revdeps, update\n" " remove, show, show-deps, show-files, show-revdeps, update\n"
"\n"
" Targets with arguments:\n" " Targets with arguments:\n"
" check\t<pkgname>\n" " check\t\t<pkgname>\n"
" files\t<pkgname>\n" " install\t\t<pkgname>\n"
" install\t<pkgname>\n" " purge\t\t[<pkgname>|<all>]\n"
" purge\t[<pkgname>|<all>]\n" " reconfigure\t\t[<pkgname>|<all>]\n"
" reconfigure\t[<pkgname>|<all>]\n" " remove\t\t<pkgname>\n"
" remove\t<pkgname>\n" " show\t\t<pkgname>\n"
" show\t<pkgname>\n" " show-deps\t\t<pkgname>\n"
" show-deps\t<pkgname>\n" " show-files\t\t<pkgname>\n"
" show-revdeps\t<pkgname>\n" " show-revdeps\t<pkgname>\n"
" update\t<pkgname>\n" " update\t\t<pkgname>\n"
" Options shared by all targets:\n" " Options shared by all targets:\n"
" -r\t\t<rootdir>\n" " -r\t\t<rootdir>\n"
" -v\t\t<verbose>\n" " -v\t\t<verbose>\n"
@ -178,7 +179,7 @@ main(int argc, char **argv)
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
} else if (strcasecmp(argv[0], "files") == 0) { } else if (strcasecmp(argv[0], "show-files") == 0) {
/* Shows files installed by a binary package. */ /* Shows files installed by a binary package. */
if (argc != 2) if (argc != 2)
usage(); usage();