* @param opt option(s) */
| 137 | * @param opt option(s) |
| 138 | */ |
| 139 | static const char * |
| 140 | getTableTranslationDomain(const struct poptOption *opt) |
| 141 | { |
| 142 | if (opt != NULL) |
| 143 | for (; opt->longName || opt->shortName || opt->arg; opt++) { |
| 144 | if (opt->argInfo == POPT_ARG_INTL_DOMAIN) |
| 145 | return opt->arg; |
| 146 | } |
| 147 | return NULL; |
| 148 | } |
| 149 | |
| 150 | /** |
| 151 | * @param opt option(s) |