[PATCH xstdcmap] Use the same parameter names in the help.

Stéphane Aulery lkppo at free.fr
Wed Jul 3 15:40:01 PDT 2013


Signed-off-by: Stéphane Aulery <lkppo at free.fr>
---
 man/xstdcmap.man |    4 ++--
 xstdcmap.c       |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/man/xstdcmap.man b/man/xstdcmap.man
index 1685764..a875baf 100644
--- a/man/xstdcmap.man
+++ b/man/xstdcmap.man
@@ -43,7 +43,7 @@
 xstdcmap - X standard colormap utility
 .SH SYNOPSIS
 .B xstdcmap
-[-all] [-best] [-blue] [-default] [-delete \fImap\fP] [-display \fIdisplay\fP]
+[-all] [-best] [-blue] [-default] [-delete \fImap\fP] [-display \fIdpy\fP]
 [-gray] [-green] [-help] [-red] [-verbose] [-version]
 .SH DESCRIPTION
 .PP
@@ -78,7 +78,7 @@ This option specifies that a specific standard colormap property, or
 all such properties, should be removed.
 \fImap\fP may be one of: default, best, red, green, blue, gray, or all.
 .TP 8
-.B \-display \fIdisplay\fP
+.B \-display \fIdpy\fP
 This option specifies the host and display to use; see \fIX(__miscmansuffix__)\fP.
 .TP 8
 .B \-gray
diff --git a/xstdcmap.c b/xstdcmap.c
index ad35c83..970da6d 100644
--- a/xstdcmap.c
+++ b/xstdcmap.c
@@ -86,7 +86,7 @@ static const char	*usage_message =
     "    -best              make the RGB_BEST_MAP\n"
     "    -blue              make the RGB_BLUE_MAP\n"
     "    -default           make the RGB_DEFAULT_MAP\n"
-    "    -delete name       remove a standard colormap\n"
+    "    -delete map        remove a standard colormap\n"
     "    -display dpy       X server to use\n"
     "    -gray              make the RGB_GRAY_MAP\n"
     "    -green             make the RGB_GREEN_MAP\n"
-- 
1.7.10.4



More information about the xorg-devel mailing list