summaryrefslogtreecommitdiff
path: root/fc-query
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-01-15 17:34:26 -0500
committerBehdad Esfahbod <behdad@behdad.org>2009-02-13 16:54:06 -0800
commit46e405cb9ab5870bda1947f3afd80f8f54c7ac75 (patch)
tree71573e7b3f68c04d9995f797deb2c1fe216ee575 /fc-query
parent25a09eb9bf2d993228a3d98d1dd271f55efb2358 (diff)
Oops. Fix usage output.
Diffstat (limited to 'fc-query')
-rw-r--r--fc-query/fc-query.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fc-query/fc-query.c b/fc-query/fc-query.c
index 8fec7d47..8c5672c6 100644
--- a/fc-query/fc-query.c
+++ b/fc-query/fc-query.c
@@ -86,7 +86,6 @@ usage (char *program, int error)
#else
fprintf (file, " -i INDEX (index) display the INDEX face of each font file only\n");
fprintf (file, " -f FORMAT (format) use the given output format\n");
- fprintf (file, " -a (all) display unpruned sorted list of matches\n");
fprintf (file, " -V (version) display font config version and exit\n");
fprintf (file, " -h (help) display this help and exit\n");
#endif
@@ -106,9 +105,9 @@ main (int argc, char **argv)
int c;
#if HAVE_GETOPT_LONG
- while ((c = getopt_long (argc, argv, "i:sVvh", longopts, NULL)) != -1)
+ while ((c = getopt_long (argc, argv, "i:f:Vh", longopts, NULL)) != -1)
#else
- while ((c = getopt (argc, argv, "i:asVvh")) != -1)
+ while ((c = getopt (argc, argv, "i:f:Vh")) != -1)
#endif
{
switch (c) {