summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-01-25 00:02:19 +0100
committerDaniel Friesel <derf@finalrewind.org>2012-01-25 00:02:19 +0100
commitb77fdd06cb3bf418e7d72c26959dd6933a010c74 (patch)
tree576d3f6abfd816379077d744597eac5c588a18d2 /src
parentab20b26e889222e707dc7bc40df2ca8274014f64 (diff)
Do not refer to --help unless it is compiled in (Debian #657171)
Diffstat (limited to 'src')
-rw-r--r--src/options.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c
index 8bfe8c1..0ef4a06 100644
--- a/src/options.c
+++ b/src/options.c
@@ -796,8 +796,12 @@ 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",
- stderr);
+#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);
}