commit 26543803b3b0579e058bc18af6616c6b1045778e
parent acdd863868a3fb1bcc793f562457c51a505150a5
Author: Alex O Regan <alexsoregan@gmail.com>
Date: Sun, 11 Apr 2021 01:10:29 +0100
update helpdoc for --trim
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xsel.c b/xsel.c
@@ -122,7 +122,8 @@ usage (void)
printf (" -z, --zeroflush Overwrites selection when zero ('\\0') is received\n");
printf (" -i, --input Read standard input into the selection\n\n");
printf ("Output options\n");
- printf (" -o, --output Write the selection to standard output\n\n");
+ printf (" -o, --output Write the selection to standard output\n");
+ printf (" --trim If output ends in a newline character ('\\n'), remove it\n\n");
printf ("Action options\n");
printf (" -c, --clear Clear the selection\n");
printf (" -d, --delete Request that the selection be cleared and that\n");