ppc64-diag/SOURCES/ppc64-diag-2.7.5-getopt-help.patch
2021-11-25 11:52:21 +00:00

13 lines
533 B
Diff

diff -up ppc64-diag-2.7.5/opal-dump-parse/opal-dump-parse.c.me ppc64-diag-2.7.5/opal-dump-parse/opal-dump-parse.c
--- ppc64-diag-2.7.5/opal-dump-parse/opal-dump-parse.c.me 2019-04-30 05:45:13.441888580 -0400
+++ ppc64-diag-2.7.5/opal-dump-parse/opal-dump-parse.c 2019-04-30 06:02:49.102876167 -0400
@@ -461,7 +461,7 @@ int main(int argc, char *argv[])
{
int opt = 0;
- while ((opt = getopt(argc, argv, "lh:s:o:")) != -1) {
+ while ((opt = getopt(argc, argv, ":s:o:lh")) != -1) {
switch (opt) {
case 'l':
opt_mdst = 1;