| Summary: | make fc-match err on too many cmdline args | ||
|---|---|---|---|
| Product: | fontconfig | Reporter: | Behdad Esfahbod <freedesktop> |
| Component: | library | Assignee: | Keith Packard <keithp> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 2.4 | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
Fixed in my tree, though in a more user-friendly way: Created commit ee1f404: [fc-match] Join all cmd-line arguments using : to use as pattern str (#16122) Not sure how to fix the fc-list thingy. It's not that important. (In reply to comment #1) > Fixed in my tree, though in a more user-friendly way: > Created commit ee1f404: [fc-match] Join all cmd-line arguments using : to use > as pattern str (#16122) Humm, this conflicts with bug 13017. I'd rather that bug be fixed. In the mean time fc-match should just err if extra arguments given. I'm closing this bug in favor of the other one. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
I have to try a couple times to see which of: fc-match : lang=fa or fc-match :lang=fa is the correct syntax. fc-match simply takes one non-option argument. It should err if more args are passed. Also the man for fc-list should be changed, such that instead of: fc-list [ -vV? ] [ --verbose ] [ --version ] [ --help ] [ pattern ] [ element ] it says: fc-list [ -vV? ] [ --verbose ] [ --version ] [ --help ] [ pattern [ element... ] ] something like that. (more than one elements allowed, and that pattern is not optional if elements are to be given).