Lines Matching refs:s_aOpts
1444 static RTGETOPTDEF s_aOpts[14 + RT_ELEMENTS(g_aScmOpts)] =
1462 memcpy(&s_aOpts[RT_ELEMENTS(s_aOpts) - RT_ELEMENTS(g_aScmOpts)], &g_aScmOpts[0], sizeof(g_aScmOpts));
1466 rc = RTGetOptInit(&GetOptState, argc, argv, &s_aOpts[0], RT_ELEMENTS(s_aOpts), 1, RTGETOPTINIT_FLAGS_OPTS_FIRST);
1491 for (size_t i = 0; i < RT_ELEMENTS(s_aOpts); i++)
1494 if ((s_aOpts[i].fFlags & RTGETOPT_REQ_MASK) == RTGETOPT_REQ_NOTHING)
1496 fAdvanceTwo = i + 1 < RT_ELEMENTS(s_aOpts)
1497 && ( strstr(s_aOpts[i+1].pszLong, "-no-") != NULL
1498 || strstr(s_aOpts[i+1].pszLong, "-not-") != NULL
1499 || strstr(s_aOpts[i+1].pszLong, "-dont-") != NULL
1502 RTPrintf(" %s, %s\n", s_aOpts[i].pszLong, s_aOpts[i + 1].pszLong);
1504 RTPrintf(" %s\n", s_aOpts[i].pszLong);
1506 else if ((s_aOpts[i].fFlags & RTGETOPT_REQ_MASK) == RTGETOPT_REQ_STRING)
1507 RTPrintf(" %s string\n", s_aOpts[i].pszLong);
1509 RTPrintf(" %s value\n", s_aOpts[i].pszLong);
1510 switch (s_aOpts[i].iShort)