Home | History | Annotate | Download | only in libpopt

Lines Matching refs:shortName

37     if (key->shortName == '?')
98 for (opt = table; opt->longName || opt->shortName || opt->arg; opt++) {
244 if (opt->longName && opt->shortName)
245 sprintf(left, "-%c, %s%s", opt->shortName,
248 else if (opt->shortName != '\0')
249 sprintf(left, "-%c", opt->shortName);
419 while (opt->longName || opt->shortName || opt->arg) {
426 if (opt->shortName != '\0') len += sizeof("-X")-1;
427 if (opt->shortName != '\0' && opt->longName) len += sizeof(", ")-1;
486 if ((opt->longName || opt->shortName) &&
516 for (opt = table; (opt->longName || opt->shortName || opt->arg); opt++) {
517 if ((opt->longName || opt->shortName) &&
523 for (opt = table; (opt->longName || opt->shortName || opt->arg); opt++) {
596 if (opt->shortName != '\0' && opt->longName != NULL) {
600 } else if (opt->shortName != '\0') {
602 shortStr[0] = opt->shortName;
636 if (opt->longName && opt->shortName) {
638 opt->shortName, ((opt->argInfo & POPT_ARGFLAG_ONEDASH) ? "" : "-"),
644 ((opt->shortName || (opt->argInfo & POPT_ARGFLAG_ONEDASH)) ? "" : "-"),
646 (argDescrip ? (opt->shortName != '\0' ? " " : "=") : ""),
676 } else if ((opt->longName || opt->shortName) &&
714 for (; (opt->longName || opt->shortName || opt->arg) ; opt++) {
738 } else if ((opt->longName || opt->shortName) &&
768 for (; (opt->longName || opt->shortName || opt->arg); opt++) {
769 if (opt->shortName && !(opt->argInfo & POPT_ARG_MASK))
770 s[strlen(s)] = opt->shortName;