Lines Matching refs:optarg
124 if (!strcmp(optarg, "selinux")) { in main()
126 } else if (!strcmp(optarg, "xen")) { in main()
129 fprintf(stderr, "Unknown target: %s\n", optarg); in main()
134 if (!strcasecmp(optarg, "true") || !strcasecmp(optarg, "1")) { in main()
136 } else if (!strcasecmp(optarg, "false") || !strcasecmp(optarg, "0")) { in main()
145 policyvers = strtol(optarg, &endptr, 10); in main()
146 if (errno != 0 || endptr == optarg || *endptr != '\0') { in main()
147 fprintf(stderr, "Bad policy version: %s\n", optarg); in main()
158 if (!strcasecmp(optarg, "deny")) { in main()
160 } else if (!strcasecmp(optarg, "allow")) { in main()
162 } else if (!strcasecmp(optarg, "reject")) { in main()
178 output = strdup(optarg); in main()
181 filecontexts = strdup(optarg); in main()
188 fprintf(stderr, "Unsupported option: %s\n", optarg); in main()