summaryrefslogtreecommitdiff
path: root/perf/cairo-perf-trace.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-06-11 15:40:27 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-11 15:40:27 +0100
commit55cbf525479cde8251cc9199f9db89e510d6a9c1 (patch)
tree6f0981e9bbd223f4e0d0df6f53e5a8d9e1fb9dc4 /perf/cairo-perf-trace.c
parent614bfdc0846856653a742b035e70d009b0a716cc (diff)
[perf] Fix -i getopt parsing.
Gah, I presumed that the ':' separated options that required arguments from stand-alone options. I was wrong. The ':' indicates that the preceding option takes an argument. So add it back to -i.
Diffstat (limited to 'perf/cairo-perf-trace.c')
-rw-r--r--perf/cairo-perf-trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/cairo-perf-trace.c b/perf/cairo-perf-trace.c
index 790e8368..2a468632 100644
--- a/perf/cairo-perf-trace.c
+++ b/perf/cairo-perf-trace.c
@@ -461,7 +461,7 @@ parse_options (cairo_perf_t *perf, int argc, char *argv[])
perf->num_exclude_names = 0;
while (1) {
- c = _cairo_getopt (argc, argv, "ix:lrv");
+ c = _cairo_getopt (argc, argv, "i:x:lrv");
if (c == -1)
break;