[PATCH libosinfo 10/10] Disable vendor, distro & family display by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>

To make the output of osinfo-query more managable disable the
display of vendor, distro & family fields. Only short-id,
name, version & id are shown.
---
 tools/osinfo-query.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/osinfo-query.c b/tools/osinfo-query.c
index 8194eb4..9383d03 100644
--- a/tools/osinfo-query.c
+++ b/tools/osinfo-query.c
@@ -58,11 +58,11 @@ static struct OsinfoLabel os_labels[] = {
     { OSINFO_PRODUCT_PROP_VERSION,
       "Version", TRUE, 8 },
     { OSINFO_OS_PROP_FAMILY,
-      "Family", TRUE, 12 },
+      "Family", FALSE, 12 },
     { OSINFO_OS_PROP_DISTRO,
-      "Distro", TRUE, 12 },
+      "Distro", FALSE, 12 },
     { OSINFO_PRODUCT_PROP_VENDOR,
-      "Vendor", TRUE, 25 },
+      "Vendor", FALSE, 25 },
     { OSINFO_PRODUCT_PROP_RELEASE_DATE,
       "Release date", FALSE, 12 },
     { OSINFO_PRODUCT_PROP_EOL_DATE,
-- 
1.7.7.6


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux