Commit b77fdd06 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Do not refer to --help unless it is compiled in (Debian #657171)

parent ab20b26e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@ git HEAD
      <https://github.com/derf/feh/issues/77>
    * Mention URL support in the SYNOPSIS
      <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655431>
    * Do not refer to --help unless help is compiled in
      <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657171>

Mon, 02 Jan 2012 11:54:01 +0100  Daniel Friesel <derf@finalrewind.org>

+6 −2
Original line number Diff line number Diff line
@@ -796,7 +796,11 @@ static void show_version(void)
void show_mini_usage(void)
{
	fputs(PACKAGE " - No loadable images specified.\n"
			"Use " PACKAGE " --help for detailed usage information\n",
#ifdef INCLUDE_HELP
		"See '" PACKAGE " --help' or 'man " PACKAGE "' for detailed usage information\n",
#else
		"See 'man " PACKAGE "' for detailed usage information\n",
#endif
		stderr);
	exit(1);
}