initial commit

This commit is contained in:
paul moore
2023-12-02 09:16:49 -08:00
parent 5537b61e6a
commit d21616ea71
5 changed files with 35 additions and 8 deletions

View File

@@ -661,7 +661,12 @@ static void OptVersion (const char* Opt attribute ((unused)),
exit(EXIT_SUCCESS);
}
static void OptSeglist (const char* Opt attribute ((unused)),
const char* Arg attribute ((unused)))
/* Enable segment listing */
{
SegList = 1;
}
static void OptWarningsAsErrors (const char* Opt attribute ((unused)),
const char* Arg attribute ((unused)))
@@ -1069,6 +1074,9 @@ int main (int argc, char* argv [])
case 'W':
WarnLevel = atoi (GetArg (&I, 2));
break;
case 'S':
OptSeglist (Arg, 0);
break;
default:
UnknownOption (Arg);