Lines Matching defs:opt
75 static void add_arg(char **cmdp, const char *opt)
77 size_t optlen = strlen(opt);
90 for (; *opt; opt++) {
91 if (*opt == '\'') {
97 *s++ = *opt;
104 static char *add_option(const char *opt, char *options)
108 options = xrealloc(options, oldlen + 1 + strlen(opt) + 1);
110 strcpy(options, opt);
113 strcat(options, opt);
271 "usage: %s %s destination [-t type] [-o opt[,opts...]]\n",
308 char *opt;
314 opt = strtok(opts, ",");
315 while (opt) {
327 if (strncmp(opt, "setuid=", 7) == 0) {
328 setuid_name = xstrdup(opt + 7);
330 } else if (strcmp(opt,
337 if (strcmp(opt, ignore_opts[j]) == 0)
341 if (strcmp(opt, "nodev") == 0)
343 else if (strcmp(opt, "nosuid") == 0)
346 options = add_option(opt, options);
348 opt = strtok(NULL, ",");