summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-02-22 01:12:06 -0500
committerDave Jones <davej@redhat.com>2011-02-22 01:12:06 -0500
commit164e79522d7eeae9478f2537b6f6cf5832a8b6e1 (patch)
treedeab646ee0e29da41ced05bf5075f4e2f9967bea
parent6834999eaed278fd7ccb0ee5681822ae28b5e128 (diff)
be more terse when no arguments are passed
-rw-r--r--identify.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/identify.c b/identify.c
index a337e91..76dc685 100644
--- a/identify.c
+++ b/identify.c
@@ -103,6 +103,9 @@ void show_info(struct cpudata *cpu)
model(cpu), cpu->stepping);
printf("CPU Model: %s\n", cpu->name);
+ if (!verbose)
+ return;
+
get_model_name(cpu);
switch (cpu->vendor) {