[lsvpd] updated lsmopts patch
Jiri Skala
jskala at fedoraproject.org
Wed Nov 9 07:35:21 UTC 2011
commit 295f013092c61d1684d6c62f68ef9a929276f953
Author: Jiri Skala <jskala at redhat.com>
Date: Wed Nov 9 08:35:16 2011 +0100
updated lsmopts patch
lsvpd-1.6.11-lsmopts.patch | 50 ++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 48 insertions(+), 2 deletions(-)
---
diff --git a/lsvpd-1.6.11-lsmopts.patch b/lsvpd-1.6.11-lsmopts.patch
index 67a6b0b..fda045c 100644
--- a/lsvpd-1.6.11-lsmopts.patch
+++ b/lsvpd-1.6.11-lsmopts.patch
@@ -1,5 +1,33 @@
---- lsvpd-1.6.8.org/src/output/lsmcode.cpp 2011-09-08 14:36:37.000000000 -0400
-+++ lsvpd-1.6.8/src/output/lsmcode.cpp 2011-09-08 14:42:24.000000000 -0400
+diff -up lsvpd-1.6.11/docs/lsmcode.8.lsmopts lsvpd-1.6.11/docs/lsmcode.8
+--- lsvpd-1.6.11/docs/lsmcode.8.lsmopts 2011-11-09 08:13:41.602999977 +0100
++++ lsvpd-1.6.11/docs/lsmcode.8 2011-11-09 08:15:44.169000483 +0100
+@@ -24,7 +24,7 @@ lsmcode \- list microcode and firmware l
+ .ad l
+ .hy 0
+ .HP 8
+-\fBlsmcode\fR [\fB\-A\fR | \fB\-\-All\fR | \fB\-d<name>\fR | \fB\-\-device=<name>\fR] [\fB\-r\fR | \fB\-\-tabular\fR | \fB\-c\fR | \fB\-\-no\-menus\fR] [\fB\-p<database\-file>\fR | \fB\-\-path=<database\-file>\fR | \fB\-z<database\-archive>\fR | \fB\-\-zip=<database\-archive>\fR] [\fB\-h\fR | \fB\-\-help\fR]
++\fBlsmcode\fR [\fB\-A\fR | \fB\-\-All\fR | \fB\-d<name>\fR | \fB\-\-device=<name>\fR] [\fB\-p<database\-file>\fR | \fB\-\-path=<database\-file>\fR | \fB\-z<database\-archive>\fR | \fB\-\-zip=<database\-archive>\fR] [\fB\-h\fR | \fB\-\-help\fR]
+ .ad
+ .hy
+
+@@ -50,14 +50,6 @@ Display information for all supported ha
+ Only show configuration information for the component with the given \fIname\fR\&.
+
+ .TP
+-\-r|\-\-tabluar
+-Display information in a tabular format\&. Overrides \fI\-c\fR\&.
+-
+-.TP
+-\-c|\-\-no\-menus
+-Display information without using menus\&. This is only included for compatibility with calling software that expects to be able to use the same options as for the AIX version, since interactive menus are not supported in this version\&.
+-
+-.TP
+ \-p<database\-file>|\-\-path=<database\-file>
+ Use <database\-file> as the hardware inventory database, rather then the default file\&. Note the supplied filename must include a full path\&. (\fI/var/lib/lsvpd/db\fR)\&.
+
+diff -up lsvpd-1.6.11/src/output/lsmcode.cpp.lsmopts lsvpd-1.6.11/src/output/lsmcode.cpp
+--- lsvpd-1.6.11/src/output/lsmcode.cpp.lsmopts 2010-07-02 20:54:08.000000000 +0200
++++ lsvpd-1.6.11/src/output/lsmcode.cpp 2011-11-09 08:07:18.581000751 +0100
@@ -66,8 +66,6 @@ void printUsage( )
cout << " --help, -h print this usage message" << endl;
cout << " --debug, -D print extra information about devices (sysfs locations, etc)" << endl;
@@ -18,3 +46,21 @@
{ "All", 0, 0, 'A' },
{ "device", 1, 0, 'd' },
{ "path", 1, 0, 'p' },
+@@ -268,17 +264,10 @@ int main( int argc, char** argv )
+ {
+ switch( getopt_long( argc, argv, opts, longOpts, &index ) )
+ {
+- case 'c':
+- break;
+-
+ case 'v':
+ printVersion( );
+ return 0;
+
+- case 'r':
+- tabular = true;
+- break;
+-
+ case 'A':
+ all = true;
+ tabular = true;
More information about the scm-commits
mailing list