Lines Matching refs:optarg
89 extern char *optarg; /* getopt support */
146 switch (*optarg) {
157 (void) strcpy(pat, optarg+1);
168 optmsg(c, optarg);
172 switch (*optarg) {
183 (void) strcpy(pat, optarg+1);
194 optmsg(c, optarg);
198 switch (*optarg) {
209 (void) strcpy(pat, optarg+1);
220 optmsg(c, optarg);
224 if (optarg == (char *)NULL)
227 optmsg(c, optarg);
230 if (*optarg == '\0')
233 startcnt = convert(c, optarg);
236 if (*optarg == '\0')
239 increment = convert(c, optarg);
242 if (*optarg == '\0')
245 width = convert(c, optarg);
248 if (*optarg == '\0')
251 blank = convert(c, optarg);
254 switch (*optarg) {
256 if (*(optarg+1) == 'n')
259 optmsg(c, optarg);
262 if ((*(optarg+1) == 'n') ||
263 (*(optarg+1) == 'z'))
264 format = *(optarg+1);
266 optmsg(c, optarg);
272 optmsg(c, optarg);
277 (void) strcpy(sep, optarg);
280 delim1 = *optarg;
282 if (*(optarg+1) == '\0')
284 delim2 = *(optarg+1);
285 if (*(optarg+2) != '\0')
286 optmsg(c, optarg);
289 optmsg(c, optarg);