Help text: only output --check-for-updates if compiled with libcurl

This commit is contained in:
Moritz Bunkus 2011-10-23 20:20:33 +02:00
parent 4f5d17c661
commit 8be471834f

View File

@ -181,7 +181,9 @@ cli_parser_c::add_common_options() {
OPT("@file", YT("Reads additional command line options from the specified file (see man page)."));
OPT("h|help", YT("Show this help."));
OPT("V|version", YT("Show version information."));
#if defined(HAVE_CURL_EASY_H)
OPT("check-for-updates", YT("Check online for the latest release."));
#endif // defined(HAVE_CURL_EASY_H)
}
#undef OPT