Lines Matching refs:progname
42 static const char *progname; /* program name for error messages */ variable
52 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
111 progname); in select_transform()
116 progname); in select_transform()
171 progname); in parse_switches()
195 progname, argv[argn]); in parse_switches()
260 progname); in parse_switches()
282 progname); in parse_switches()
327 progname); in parse_switches()
394 progname = argv[0]; in main()
395 if (progname == NULL || progname[0] == 0) in main()
396 progname = "jpegtran"; /* in case C library doesn't provide it */ in main()
422 progname); in main()
429 progname); in main()
436 fprintf(stderr, "%s: only one input file\n", progname); in main()
444 fprintf(stderr, "%s: can't open %s for reading\n", progname, argv[file_index]); in main()
472 fprintf(stderr, "%s: transformation is not perfect\n", progname); in main()
507 fprintf(stderr, "%s: can't open %s for writing\n", progname, outfilename); in main()