capturevpedisplay: added usage details
[glsdk/omapdrmtest.git] / capturevpedisplay.c
index 746440a0c211a1c9775881322a539c17441223bf..15a308887b874ac963046d5090a52b9833e06c43 100644 (file)
@@ -229,6 +229,15 @@ int main(int argc, char *argv[])
 
        struct  vpe *vpe;
 
+       if (argc != 11) {
+               printf (
+               "USAGE : <SRCWidth> <SRCHeight> <SRCFormat> "
+                       "<DSTWidth> <DSTHeight> <DSTformat> "
+                       "<interlace> <translen> -s <connector_id>:<mode>\n");
+
+               return 1;
+       }
+
        /** Open the device */
        vpe = vpe_open();