From a9fc1fc0f736684e21d2ca20804c04f573306933 Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Tue, 7 Oct 2025 11:19:29 +0200 Subject: [PATCH] clients: screenshot: Fixup --help command line option Signed-off-by: Robert Mader --- clients/screenshot.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/screenshot.c b/clients/screenshot.c index 0f0e6ff47..a67ffecde 100644 --- a/clients/screenshot.c +++ b/clients/screenshot.c @@ -491,6 +491,8 @@ static void print_usage_and_exit(void) { printf("usage flags:\n" + "\t'-h,--help'" + "\n\t\tprint this help output\n" "\t'-v,--verbose'" "\n\t\tprint additional output\n" "\t'-f,--format=<>'" @@ -527,6 +529,7 @@ main(int argc, char *argv[]) app.buffer_type = CLIENT_BUFFER_TYPE_SHM; static struct option long_options[] = { + {"help", no_argument, NULL, 'h'}, {"verbose", no_argument, NULL, 'v'}, {"format", required_argument, NULL, 'f'}, {"source-type", required_argument, NULL, 's'},