Fix the hardcoded cache file suffix

This commit is contained in:
Akira TAGOH 2012-03-28 16:27:46 +09:00
parent 4a060729a1
commit fe6ba5e5c5
1 changed files with 2 additions and 2 deletions

View File

@ -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");