From 22233ad6df7c034a7726c223e496a71355c7c2b5 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 18 Mar 2023 12:01:45 +0000 Subject: [PATCH] xwarpptr.c: Add missing documentation for the `-r' option. --- xwarpptr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xwarpptr.c b/xwarpptr.c index 92cd5c6..e16d5e7 100644 --- a/xwarpptr.c +++ b/xwarpptr.c @@ -45,7 +45,7 @@ static void version(void) { pquis(stdout, "$ version " VERSION "\n"); } static void usage(FILE *fp) - { pquis(fp, "Usage: $ [-d DISPLAY] X Y\n"); } + { pquis(fp, "Usage: $ [-r] [-d DISPLAY] X Y\n"); } static void help(void) { @@ -60,7 +60,8 @@ Command-line options:\n\ -v, --version Display program's version number.\n\ -u, --usage Display short usage summary.\n\ \n\ --d, --display=DISPLAY Connect to X DISPLAY.\n", +-d, --display=DISPLAY Connect to X DISPLAY.\n\ +-r, --relative Move relative to its current position\n", stdout); } -- 2.11.0