weston-cliptest --help works. You must use -b to run benchmark
This commit is contained in:
committed by
Pekka Paalanen
parent
5cad843989
commit
36bcf47054
+6
-2
@@ -893,8 +893,12 @@ main(int argc, char *argv[])
|
|||||||
struct display *d;
|
struct display *d;
|
||||||
struct cliptest *cliptest;
|
struct cliptest *cliptest;
|
||||||
|
|
||||||
if (argc > 1)
|
if (argc > 1) {
|
||||||
return benchmark();
|
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);
|
d = display_create(&argc, argv);
|
||||||
if (d == NULL) {
|
if (d == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user