xscreen

X11 screenshot utility
git clone https://porkepik.fr/xscreen
Log | Files | Refs | README | LICENSE

commit b62b52e906b0200441fea94d20a0c57a57e2165f
parent 6851f2b53d72407b4db8c9229c5f929724e20765
Author: Thomas Philippe <dev@porkepik.fr>
Date:   Mon, 29 Jul 2019 15:30:21 +0200

new help message

Diffstat:
Mxscreen.c | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/xscreen.c b/xscreen.c @@ -57,7 +57,14 @@ failure(const char *err_str) static void display_help(void) { - printf("Usage: xscreen [-usz] [-j quality] [-d delay] [-f filename]\n"); + printf("Usage: By default, takes a screenshot of the root window\n " + " and saves it in a PNG file in the current directory.\n\n" + " -u Focused window.\n" + " -s Rectangle selection.\n" + " -z Freeze display during rectangle selection.\n" + " -j [quality] Save in a JPG, quality from 1 to 100.\n" + " -d [delay] Delay in seconds.\n" + " -f [path] Path + optional filename location.\n"); XCloseDisplay(disp); exit(EXIT_SUCCESS); }