Home
last modified time | relevance | path

Searched refs:shortopts (Results 1 – 3 of 3) sorted by relevance

/hardware/bsp/intel/peripheral/examples/mraa/gpio_output/
DOutputGPIO.cpp53 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/
DSparkFunOLED.cpp47 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/
DgroveLCD.cpp52 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()