Fix the hardcoded cache file suffix
This commit is contained in:
parent
4a060729a1
commit
fe6ba5e5c5
|
@ -150,11 +150,11 @@ usage (char *program, int error)
|
||||||
{
|
{
|
||||||
FILE *file = error ? stderr : stdout;
|
FILE *file = error ? stderr : stdout;
|
||||||
#if HAVE_GETOPT_LONG
|
#if HAVE_GETOPT_LONG
|
||||||
fprintf (file, "usage: %s [-rv] [--recurse] [--verbose] [*-%s.cache-2|directory]...\n",
|
fprintf (file, "usage: %s [-rv] [--recurse] [--verbose] [*-%s" FC_CACHE_SUFFIX "|directory]...\n",
|
||||||
program, FC_ARCHITECTURE);
|
program, FC_ARCHITECTURE);
|
||||||
fprintf (file, " %s [-Vh] [--version] [--help]\n", program);
|
fprintf (file, " %s [-Vh] [--version] [--help]\n", program);
|
||||||
#else
|
#else
|
||||||
fprintf (file, "usage: %s [-rvVh] [*-%s.cache-2|directory]...\n",
|
fprintf (file, "usage: %s [-rvVh] [*-%s" FC_CACHE_SUFFIX "|directory]...\n",
|
||||||
program, FC_ARCHITECTURE);
|
program, FC_ARCHITECTURE);
|
||||||
#endif
|
#endif
|
||||||
fprintf (file, "Reads font information cache from:\n");
|
fprintf (file, "Reads font information cache from:\n");
|
||||||
|
|
Loading…
Reference in New Issue