projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cad843
)
weston-cliptest --help works. You must use -b to run benchmark
author
Bill Spitzak
<spitzak@gmail.com>
Fri, 8 Aug 2014 19:59:56 +0000
(12:59 -0700)
committer
Pekka Paalanen
<pekka.paalanen@collabora.co.uk>
Tue, 19 Aug 2014 09:19:56 +0000
(12:19 +0300)
clients/cliptest.c
patch
|
blob
|
history
diff --git
a/clients/cliptest.c
b/clients/cliptest.c
index
a1928f4
..
612b3d1
100644
(file)
--- a/
clients/cliptest.c
+++ b/
clients/cliptest.c
@@
-893,8
+893,12
@@
main(int argc, char *argv[])
struct display *d;
struct cliptest *cliptest;
- if (argc > 1)
- return benchmark();
+ if (argc > 1) {
+ if (argc == 2 && !strcmp(argv[1], "-b"))
+ return benchmark();
+ printf("Usage: %s [OPTIONS]\n -b run benchmark\n", argv[0]);
+ return 1;
+ }
d = display_create(&argc, argv);
if (d == NULL) {