mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
Help text: only output --check-for-updates if compiled with libcurl
This commit is contained in:
parent
4f5d17c661
commit
8be471834f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user