(print_switch_values): Ignore -o.

From-SVN: r12014
This commit is contained in:
Doug Evans 1996-05-17 19:55:44 +00:00
parent 9c6e68c2ad
commit 520e7ff5c7
1 changed files with 7 additions and 1 deletions

View File

@ -4141,10 +4141,16 @@ print_switch_values (file, pos, max, indent, sep, term)
pos = print_single_switch (file, pos, max, indent, *indent ? " " : "", term,
"options passed: ", "");
for (p = &save_argv[1]; *p != (char *)0; p++)
for (p = &save_argv[1]; *p != NULL; p++)
if (**p == '-')
{
/* Ignore these. */
if (strcmp (*p, "-o") == 0)
{
if (p[1] != NULL)
p++;
continue;
}
if (strcmp (*p, "-quiet") == 0)
continue;
if (strcmp (*p, "-version") == 0)