mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-10 13:28:12 -05:00
Move important information up in -Si output
Currently, the package description is printed at the end of the -Si output. This is probably one of the more important pieces of information so should be nearer the top. Also move the package architecture up. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
632912261a
commit
0fe562011c
@ -141,6 +141,8 @@ void dump_pkg_full(alpm_pkg_t *pkg, int extra)
|
|||||||
}
|
}
|
||||||
string_display(_("Name :"), alpm_pkg_get_name(pkg), cols);
|
string_display(_("Name :"), alpm_pkg_get_name(pkg), cols);
|
||||||
string_display(_("Version :"), alpm_pkg_get_version(pkg), cols);
|
string_display(_("Version :"), alpm_pkg_get_version(pkg), cols);
|
||||||
|
string_display(_("Description :"), alpm_pkg_get_desc(pkg), cols);
|
||||||
|
string_display(_("Architecture :"), alpm_pkg_get_arch(pkg), cols);
|
||||||
string_display(_("URL :"), alpm_pkg_get_url(pkg), cols);
|
string_display(_("URL :"), alpm_pkg_get_url(pkg), cols);
|
||||||
list_display(_("Licenses :"), alpm_pkg_get_licenses(pkg), cols);
|
list_display(_("Licenses :"), alpm_pkg_get_licenses(pkg), cols);
|
||||||
list_display(_("Groups :"), alpm_pkg_get_groups(pkg), cols);
|
list_display(_("Groups :"), alpm_pkg_get_groups(pkg), cols);
|
||||||
@ -164,7 +166,6 @@ void dump_pkg_full(alpm_pkg_t *pkg, int extra)
|
|||||||
printf(_("Installed Size : %6.2f %s\n"), size, label);
|
printf(_("Installed Size : %6.2f %s\n"), size, label);
|
||||||
|
|
||||||
string_display(_("Packager :"), alpm_pkg_get_packager(pkg), cols);
|
string_display(_("Packager :"), alpm_pkg_get_packager(pkg), cols);
|
||||||
string_display(_("Architecture :"), alpm_pkg_get_arch(pkg), cols);
|
|
||||||
string_display(_("Build Date :"), bdatestr, cols);
|
string_display(_("Build Date :"), bdatestr, cols);
|
||||||
if(from == ALPM_PKG_FROM_LOCALDB) {
|
if(from == ALPM_PKG_FROM_LOCALDB) {
|
||||||
string_display(_("Install Date :"), idatestr, cols);
|
string_display(_("Install Date :"), idatestr, cols);
|
||||||
@ -198,8 +199,6 @@ void dump_pkg_full(alpm_pkg_t *pkg, int extra)
|
|||||||
alpm_siglist_cleanup(&siglist);
|
alpm_siglist_cleanup(&siglist);
|
||||||
}
|
}
|
||||||
|
|
||||||
string_display(_("Description :"), alpm_pkg_get_desc(pkg), cols);
|
|
||||||
|
|
||||||
/* Print additional package info if info flag passed more than once */
|
/* Print additional package info if info flag passed more than once */
|
||||||
if(from == ALPM_PKG_FROM_LOCALDB && extra) {
|
if(from == ALPM_PKG_FROM_LOCALDB && extra) {
|
||||||
dump_pkg_backups(pkg);
|
dump_pkg_backups(pkg);
|
||||||
|
Loading…
Reference in New Issue
Block a user