]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/kmscube.git/commitdiff
kmscube: Add : argument for connector support
authorRamprasad N <x0038811@ti.com>
Mon, 4 Nov 2019 10:42:43 +0000 (16:12 +0530)
committerRamprasad N <x0038811@ti.com>
Wed, 13 Nov 2019 11:06:13 +0000 (16:36 +0530)
This is a bug fix patch to support connector id
as argument. Earlier this was working but after
the commit 456cabc661caac5c60729751d45efd668faa8e97
this is failing.

Signed-off-by: Ramprasad N <x0038811@ti.com>
kmscube.c

index d7ad1835c08d74ad29ccd516703a8624384f460b..df2731d528971b5b8cd634bf737522d693173c80 100644 (file)
--- a/kmscube.c
+++ b/kmscube.c
@@ -863,7 +863,7 @@ int main(int argc, char *argv[])
        signal(SIGINT, kms_signalhandler);
        signal(SIGTERM, kms_signalhandler);
 
-       while ((opt = getopt(argc, argv, "ahcd:n:")) != -1) {
+       while ((opt = getopt(argc, argv, "ahc:d:n:")) != -1) {
                switch(opt) {
                case 'a':
                        all_display = 1;