rem: printf("Syntax:\n%s [-nofonts] <style file>\n", argv[0]);
add: printf("%s: missing argument\n", ProgName); printf("Try '%s --help' for more information\n", ProgName);
context: main(int argc, char **argv){    proplist_t prop, style;    char *path;    struct stat statbuf;    ProgName = argv[0];        if (argc<2) {	printf("Syntax:\n%s [-nofonts] <style file>\n", argv[0]);	exit(1);    }    if (argc == 3) {	if (strcmp(argv[1], "-nofonts")==0) {	    ignoreFonts = 1;	} else {	    printf("Syntax:\n%s <style file> [-nofonts]\n", argv[0]);	    exit(1);	    	}    }    PLSetStringCmpHook(StringCompareHook);        path = defaultsPathForDomain("WindowMaker");    prop = PLGetProplistWithPath(path);    if (!prop) {	printf("%s:could not load WindowMaker configuration file \"%s\".\n", 	       ProgName, path);	exit(1);    }    if (stat(argv[argc-1], &statbuf) < 0) {	perror(argv[argc-1]);	exit(1);    }    if (S_ISDIR(statbuf.st_mode)) {	char buffer[4018];	char *prefix;	if (*argv[argc-1] != '/') {	    if (!getcwd(buffer, 4000)) {		printf("%s: complete path for %s is too long\n", ProgName,		       argv[argc-1]);		exit(1);	    }	    if (strlen(buffer) + strlen(argv[argc-1]) > 4000) {		printf("%s: complete path for %s is too long\n", ProgName,		       argv[argc-1]);		exit(1);	    }	    strcat(buffer, "/");	} else {	    buffer[0] = 0;	}	strcat(buffer, argv[argc-1]);	prefix = malloc(strlen(buffer)+10);	if (!prefix) {	    printf("%s: out of memory\n", ProgName);	    exit(1);	}	strcpy(prefix, buffer);	strcat(buffer, "/style");		style = PLGetProplistWithPath(buffer);	if (!style) {	    printf("%s:could not load style file \"%s\".\n", ProgName, 		   buffer);	    exit(1);	}	hackPaths(style, prefix);	free(prefix);    } else {	style = PLGetProplistWithPath(argv[argc-1]);	if (!style) {	    printf("%s:could not load style file \"%s\".\n", ProgName, 		   argv[argc-1]);	    exit(1);	}    }    hackStyle(style);    PLMergeDictionaries(prop, style);        PLSave(prop, YES);    exit(0);}