From 553147259b17c22185adbc3f9eddb58dca31024a Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Wed, 3 Jul 2024 13:41:23 +0300 Subject: [PATCH] Explain controls in the help message --- src/main.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/main.c b/src/main.c index d632592..37d3afc 100644 --- a/src/main.c +++ b/src/main.c @@ -165,12 +165,15 @@ static void help(const char *prog) { " -f Specify the output file format.\n" " -o Specify the output file path.\n" "\n" - "If the output file path is not specified, the resuling image will be printed\n" - "to the standard output. If the output file format is not specified, it is\n" - "guessed from the output file path if it's specified, and assumed to be PNG\n" - "otherwise.\n" + "If the output file path is not specified, the resuling image will be printed to\n" + "the standard output. If the output file format is not specified, it is guessed\n" + "from the output file path if it's specified, and assumed to be PNG otherwise.\n" "\n" - "Supported formats: png, ppm.\n", + "Supported formats: png, ppm.\n" + "\n" + "Use the left or right mouse button to select a part of the output. A selection\n" + "can also be moved and resized with the left mouse button. Clicking the middle\n" + "mouse button selects the entire output.\n", prog); }