Blame SOURCES/0001-Update-help-message-and-man-page.patch

5a9c2e
From 33951733bb800321780444a178b969c212c65875 Mon Sep 17 00:00:00 2001
5a9c2e
From: Seeteena Thoufeek <s1seetee@linux.vnet.ibm.com>
5a9c2e
Date: Wed, 12 Jul 2017 11:00:43 +0530
5a9c2e
Subject: [PATCH] Update help message and man page
5a9c2e
5a9c2e
lshw -dump option displays output on stdout as well as stores SQLite
5a9c2e
format data into a file. Lets update man page and help message to
5a9c2e
reflect this.
5a9c2e
5a9c2e
Signed-off-by: Seeteena Thoufeek <s1seetee@linux.vnet.ibm.com>
5a9c2e
[Updated description - Vasant]
5a9c2e
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
5a9c2e
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
5a9c2e
---
5a9c2e
 src/lshw.1  | 2 +-
5a9c2e
 src/lshw.cc | 2 +-
5a9c2e
 2 files changed, 2 insertions(+), 2 deletions(-)
5a9c2e
5a9c2e
diff --git a/src/lshw.1 b/src/lshw.1
5a9c2e
index 43239da0bb44..79c36197c32d 100644
5a9c2e
--- a/src/lshw.1
5a9c2e
+++ b/src/lshw.1
5a9c2e
@@ -53,7 +53,7 @@ Outputs the device tree showing hardware paths, very much like the output of HP-
5a9c2e
 Outputs the device list showing bus information, detailing SCSI, USB, IDE and PCI addresses.
5a9c2e
 .TP
5a9c2e
 \fB-dump \fIfilename\fB\fR
5a9c2e
-Dump collected information into a file (SQLite database).
5a9c2e
+Display output and dump collected information into a file (SQLite database).
5a9c2e
 .TP
5a9c2e
 \fB-class \fIclass\fB\fR
5a9c2e
 Only show the given class of hardware. \fIclass\fR can be found using \fBlshw -short\fR or \fBlshw -businfo\fR\&.
5a9c2e
diff --git a/src/lshw.cc b/src/lshw.cc
5a9c2e
index 5fc8adefd6fc..219a008df3dd 100644
5a9c2e
--- a/src/lshw.cc
5a9c2e
+++ b/src/lshw.cc
5a9c2e
@@ -35,7 +35,7 @@ void usage(const char *progname)
5a9c2e
     fprintf(stderr, _("\t-X              use graphical interface\n"));
5a9c2e
   fprintf(stderr, _("\noptions can be\n"));
5a9c2e
 #ifdef SQLITE
5a9c2e
-  fprintf(stderr, _("\t-dump OUTFILE   save hardware tree to a file\n"));
5a9c2e
+  fprintf(stderr, _("\t-dump filename  displays output and dump collected information into a file (SQLite database)\n"));
5a9c2e
 #endif
5a9c2e
   fprintf(stderr, _("\t-class CLASS    only show a certain class of hardware\n"));
5a9c2e
   fprintf(stderr, _("\t-C CLASS        same as '-class CLASS'\n"));
5a9c2e
-- 
5a9c2e
2.17.1
5a9c2e