Lines Matching defs:prog
45 static char *prog;
69 switch (*prog) {
72 gettext("usage: %s [options] [-f format]\n"), prog);
79 gettext("usage: %s [-f format] input\n"), prog);
84 gettext("usage: %s [options] [-f format]\n"), prog);
92 gettext("usage: %s [options] [-f format]\n"), prog);
132 prog = prog_name(argv[0]);
136 if ((*prog == 'v') && !strchr(vusage, c))
138 if ((*prog == 'e') && !strchr(eusage, c))
140 if ((*prog == 'h') && !strchr(husage, c))
153 prog);
197 if (*prog == 'v') {
202 (void) fprintf(stderr, gettext(MYFMT), prog);
209 if (*prog == 'e') {
212 (void) fprintf(stderr, gettext(MYFMT), prog);
217 } else if (*prog == 'h') {
220 (void) fprintf(stderr, gettext(MYFMT), prog);
248 (void) fprintf(stderr, gettext(MYFMT), prog);