Lines Matching refs:arg
184 const char *arg = var; in fill_in_uparams() local
186 while (isalnum ((unsigned char) *arg) || *arg == '-' || *arg == '_') in fill_in_uparams()
187 arg++; in fill_in_uparams()
188 var_len = arg - var; in fill_in_uparams()
190 SKIPWS (arg); in fill_in_uparams()
192 if (*arg == '\0' || *arg == ',') in fill_in_uparams()
194 else if (*arg == '=') in fill_in_uparams()
196 arg++; in fill_in_uparams()
197 SKIPWS (arg); in fill_in_uparams()
211 else if (isdigit ((unsigned char) *arg)) in fill_in_uparams()
213 val = atoi (arg); in fill_in_uparams()
214 while (isdigit ((unsigned char) *arg)) in fill_in_uparams()
215 arg++; in fill_in_uparams()
216 SKIPWS (arg); in fill_in_uparams()
243 var = arg; in fill_in_uparams()
1064 arg (const struct argp_option *real, const char *req_fmt, const char *opt_fmt, in arg() function
1067 if (real->arg) in arg()
1071 dgettext (domain, real->arg)); in arg()
1074 dgettext (domain, real->arg)); in arg()
1244 arg (real, " %s", "[%s]", in hol_entry_help()
1247 else if (real->arg) in hol_entry_help()
1280 arg (real, "=%s", "[=%s]", in hol_entry_help()
1376 if (!(opt->arg || real->arg) in add_argless_short_opt()
1390 const char *arg = opt->arg; in usage_argful_short_opt() local
1393 if (! arg) in usage_argful_short_opt()
1394 arg = real->arg; in usage_argful_short_opt()
1396 if (arg && !(flags & OPTION_NO_USAGE)) in usage_argful_short_opt()
1398 arg = dgettext (domain, arg); in usage_argful_short_opt()
1401 __argp_fmtstream_printf (stream, " [-%c[%s]]", opt->key, arg); in usage_argful_short_opt()
1406 space (stream, 6 + strlen (arg)); in usage_argful_short_opt()
1407 __argp_fmtstream_printf (stream, "[-%c %s]", opt->key, arg); in usage_argful_short_opt()
1422 const char *arg = opt->arg; in usage_long_opt() local
1425 if (! arg) in usage_long_opt()
1426 arg = real->arg; in usage_long_opt()
1430 if (arg) in usage_long_opt()
1432 arg = dgettext (domain, arg); in usage_long_opt()
1434 __argp_fmtstream_printf (stream, " [--%s[=%s]]", opt->name, arg); in usage_long_opt()
1436 __argp_fmtstream_printf (stream, " [--%s=%s]", opt->name, arg); in usage_long_opt()