From fd1d633a273d01931811e4f21c78e39d7bdca7de Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Tue, 17 Oct 2023 12:28:54 +0200 Subject: [PATCH] show correct program name in help --- examples/heif_dec.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/heif_dec.cc b/examples/heif_dec.cc index f474901798..e47cc228b0 100644 --- a/examples/heif_dec.cc +++ b/examples/heif_dec.cc @@ -67,9 +67,9 @@ static void show_help(const char* argv0) { - std::cerr << " heif-convert libheif version: " << heif_get_version() << "\n" - << "-------------------------------------------\n" - "Usage: heif-convert [options] [output-image]\n" + std::cerr << " " << argv0 << " libheif version: " << heif_get_version() << "\n" + << "---------------------------------------\n" + "Usage: " << argv0 << " [options] [output-image]\n" "\n" "The program determines the output file format from the output filename suffix.\n" "These suffixes are recognized: jpg, jpeg, png, y4m. If no output filename is specified, 'jpg' is used.\n"