1
/* This file is part of hp2ps, a graph drawer for memory profiles.
2
Copyright (C) 2002 The University Court of the University of Glasgow.
3
This program is governed by the license contained in the file LICENSE. */
16
Error(const char *fmt, ...)
20
fprintf(stderr, "%s: ", programname);
22
vfprintf(stderr, fmt, ap);
24
fprintf(stderr, "\n");
30
Disaster(const char *fmt, ...)
34
fprintf(stderr, "%s: ", programname);
35
fprintf(stderr, " Disaster! (");
37
vfprintf(stderr, fmt, ap);
39
fprintf(stderr, ")\n");
47
if (str) printf("error: %s\n", str);
48
printf("usage: %s -b -d -ef -g -i -p -mn -p -s -tf -y [file[.hp]]\n", programname);
49
printf("where -b use large title box\n");
50
printf(" -d sort by standard deviation\n");
51
printf(" -ef[in|mm|pt] produce Encapsulated PostScript f units wide (f > 2 inches)\n");
52
printf(" -g produce output suitable for GHOSTSCRIPT previever\n");
53
printf(" -i[+|-] sort by identifier string (-i+ gives greatest on top) \n");
54
printf(" -mn print maximum of n bands (default & max 20)\n");
55
printf(" -m0 removes the band limit altogether\n");
56
printf(" -p use previous scaling, shading and ordering\n");
57
printf(" -s use small title box\n");
58
printf(" -tf ignore trace bands which sum below f%% (default 1%%, max 5%%)\n");
59
printf(" -y traditional\n");
60
printf(" -c colour ouput\n");