From 8bbf18f56b61c96d403e225b6fb8202cf28c4618 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Wed, 30 Oct 2024 11:05:24 +0000 Subject: [PATCH] lime: Help text now omits references to the SDL frontend if disabled --- src/lime/common_strings.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lime/common_strings.h b/src/lime/common_strings.h index 9fa12200a..a0f1ed31b 100644 --- a/src/lime/common_strings.h +++ b/src/lime/common_strings.h @@ -19,11 +19,14 @@ constexpr char help_string[] = "-r, --movie-record [path] Record a TAS movie to the given file path\n" "-a, --movie-record-author [author] Set the author for the recorded TAS movie (to be used " "alongside --movie-record)\n" +#ifdef ENABLE_SDL2_FRONTEND "-n, --no-gui Use the lightweight SDL frontend instead of the usual Qt " "frontend\n" + // TODO: Move -m outside of this check when it is implemented in Qt frontend "-m, --multiplayer [nick:password@address:port] Nickname, password, address and port for " - "multiplayer\n" + "multiplayer (currently only usable with SDL frontend)\n" +#endif "-v, --version Output version information and exit\n" "-w, --windowed Start in windowed mode"; -} +} // namespace Common