Searched refs:shortopts (Results 1 – 3 of 3) sorted by relevance
/hardware/bsp/intel/peripheral/examples/mraa/gpio_output/ |
D | OutputGPIO.cpp | 53 static char shortopts[] = "?p:sc"; variable 61 if (shortopts[j] == ':') in Usage() 65 (shortopts[j+1] == ':') ? " <arg> " : "", in Usage() 66 shortopts[j], in Usage() 67 (shortopts[j+1] == ':') ? " <arg> " : ""); in Usage() 78 while ((ch = getopt_long(argc, argv, shortopts, longopts, NULL)) != -1) { in ReadOpts()
|
/hardware/bsp/intel/peripheral/displays/SparkFun_OLED/ |
D | SparkFunOLED.cpp | 47 static char shortopts[] = "?t:i"; variable 55 if (shortopts[j] == ':') in Usage() 57 printf(" --%-6s or -%c\n", longopts[i].name, shortopts[j]); in Usage() 68 while ((ch = getopt_long(argc, argv, shortopts, longopts, NULL)) != -1) { in ReadOpts()
|
/hardware/bsp/intel/peripheral/displays/Grove_LCD_RGB/ |
D | groveLCD.cpp | 52 static char shortopts[] = "?t:rgb"; variable 60 if (shortopts[j] == ':') in Usage() 62 printf(" --%-6s or -%c\n", longopts[i].name, shortopts[j]); in Usage() 74 while ((ch = getopt_long(argc, argv, shortopts, longopts, NULL)) != -1) { in ReadOpts()
|