[PATCH] cvt: add -i/--interlaced to documentation

Alon Levy alevy at redhat.com
Sun May 20 04:54:37 PDT 2012


Signed-off-by: Alon Levy <alevy at redhat.com>
---
 hw/xfree86/utils/cvt/cvt.c   |   16 +++++++++-------
 hw/xfree86/utils/man/cvt.man |    3 +++
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/hw/xfree86/utils/cvt/cvt.c b/hw/xfree86/utils/cvt/cvt.c
index 9483964..3db343e 100644
--- a/hw/xfree86/utils/cvt/cvt.c
+++ b/hw/xfree86/utils/cvt/cvt.c
@@ -104,18 +104,20 @@ static void
 PrintUsage(char *Name)
 {
     fprintf(stderr, "\n");
-    fprintf(stderr, "usage: %s [-v|--verbose] [-r|--reduced] X Y [refresh]\n",
-            Name);
+    fprintf(stderr, "usage: %s [-v|--verbose] [-r|--reduced] [-i|--interlaced] "
+                    "X Y [refresh]\n", Name);
     fprintf(stderr, "\n");
-    fprintf(stderr, " -v|--verbose : Warn about CVT standard adherance.\n");
-    fprintf(stderr, " -r|--reduced : Create a mode with reduced blanking "
+    fprintf(stderr, " -v|--verbose    : Warn about CVT standard adherance.\n");
+    fprintf(stderr, " -r|--reduced    : Create a mode with reduced blanking "
             "(default: normal blanking).\n");
-    fprintf(stderr, "            X : Desired horizontal resolution "
+    fprintf(stderr, " -i|--interlaced : Create a mode with interlacing "
+            "(default: no interlacing).\n");
+    fprintf(stderr, "               X : Desired horizontal resolution "
             "(multiple of 8, required).\n");
     fprintf(stderr,
-            "            Y : Desired vertical resolution (required).\n");
+            "               Y : Desired vertical resolution (required).\n");
     fprintf(stderr,
-            "      refresh : Desired refresh rate (default: 60.0Hz).\n");
+            "         refresh : Desired refresh rate (default: 60.0Hz).\n");
     fprintf(stderr, "\n");
 
     fprintf(stderr, "Calculates VESA CVT (Coordinated Video Timing) modelines"
diff --git a/hw/xfree86/utils/man/cvt.man b/hw/xfree86/utils/man/cvt.man
index 310e464..ee450e0 100644
--- a/hw/xfree86/utils/man/cvt.man
+++ b/hw/xfree86/utils/man/cvt.man
@@ -29,6 +29,9 @@ standards.
 .BR \-r | \-\-reduced
 Create a mode with reduced blanking.  This allows for higher frequency signals,
 with a lower or equal dotclock. Not for Cathode Ray Tube based displays though.
+.TP 8
+.BR \-i | \-\-interlaced
+Create a mode with interlacing. The default is no interlacing.
 
 .SH "SEE ALSO"
 xorg.conf(__filemansuffix__), gtf(__appmansuffix__)
-- 
1.7.10.1



More information about the xorg-devel mailing list