Lines Matching refs:exeName

110 static int usage(const char* exeName)  in usage()  argument
113 DISPLAY( " %s [arg] [input] [output] \n", exeName); in usage()
129 static int usage_advanced(const char* exeName) in usage_advanced() argument
132 usage(exeName); in usage_advanced()
168 static int usage_longhelp(const char* exeName) in usage_longhelp() argument
170 usage_advanced(exeName); in usage_longhelp()
196 DISPLAY( "%s will refuse to read from console, or write to console \n", exeName); in usage_longhelp()
202 DISPLAY( " %s filename\n", exeName); in usage_longhelp()
207 DISPLAY( " %s -9 -f filename \n", exeName); in usage_longhelp()
209 DISPLAY( " %s -9f filename \n", exeName); in usage_longhelp()
211 DISPLAY( "%s can be used in 'pure pipe mode'. For example :\n", exeName); in usage_longhelp()
214 DISPLAY( " generator | %s | consumer \n", exeName); in usage_longhelp()
220 DISPLAY( " %s -hc filename\n", exeName); in usage_longhelp()
223 DISPLAY( " %s -h -c filename\n", exeName); in usage_longhelp()
229 static int badusage(const char* exeName) in badusage() argument
232 if (displayLevel >= 1) usage(exeName); in badusage()
284 const char* const exeName = lastNameFromPath(argv[0]); in main() local
300 if (!strcmp(exeName, LZ4CAT)) { in main()
309 if (!strcmp(exeName, UNLZ4)) { mode = om_decompress; } in main()
346 if (!strcmp(argument, "--help")) { usage_advanced(exeName); goto _cleanup; } in main()
373 case 'h': usage_advanced(exeName); goto _cleanup; in main()
374 case 'H': usage_longhelp(exeName); goto _cleanup; in main()
426 if (B < 4) badusage(exeName); in main()
432 if (B < 32) badusage(exeName); in main()
477 default : badusage(exeName); in main()
568 if (dynNameSpace==NULL) { perror(exeName); exit(1); } in main()
579 if (dynNameSpace==NULL) { perror(exeName); exit(1); } in main()
584 …if (outl != inl-5) { DISPLAYLEVEL(1, "Cannot determine an output filename\n"); badusage(exeName); } in main()