[Libreoffice-commits] online.git: tools/Config.cpp

Andras Timar andras.timar at collabora.com
Thu Oct 12 20:10:26 UTC 2017


 tools/Config.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 11ad1b4ab98706e73ad208c79da2e52d9857cc19
Author: Andras Timar <andras.timar at collabora.com>
Date:   Thu Oct 12 21:40:55 2017 +0200

    loolconfig: don't show option for set-support-key, it it's not compiled in
    
    Change-Id: Ie3baeee860e5ef0a797a3061373e266f40b41809

diff --git a/tools/Config.cpp b/tools/Config.cpp
index 6de6597f..dcf3d07a 100644
--- a/tools/Config.cpp
+++ b/tools/Config.cpp
@@ -118,10 +118,12 @@ void Config::defineOptions(OptionSet& optionSet)
                         .repeatable(false)
                         .argument("number"));
 
+#if ENABLE_SUPPORT_KEY
     optionSet.addOption(Option("support-key", "", "Specify the support key [set-support-key].")
                         .required(false)
                         .repeatable(false)
                         .argument("key"));
+#endif
 }
 
 void Config::handleOption(const std::string& optionName, const std::string& optionValue)


More information about the Libreoffice-commits mailing list