Skip to content

Commit

Permalink
show correct program name in help
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Oct 17, 2023
1 parent 100d172 commit fd1d633
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/heif_dec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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] <input-image> [output-image]\n"
std::cerr << " " << argv0 << " libheif version: " << heif_get_version() << "\n"
<< "---------------------------------------\n"
"Usage: " << argv0 << " [options] <input-image> [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"
Expand Down

0 comments on commit fd1d633

Please sign in to comment.