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