Kaynağa Gözat

Use the same key constant for command line config and all other config

Mark Monteiro 5 yıl önce
ebeveyn
işleme
5d48259046
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      Jellyfin.Server/StartupOptions.cs

+ 1 - 1
Jellyfin.Server/StartupOptions.cs

@@ -21,7 +21,7 @@ namespace Jellyfin.Server
         /// <summary>
         /// <summary>
         /// Gets or sets a value indicating whether the server should not host static web content.
         /// Gets or sets a value indicating whether the server should not host static web content.
         /// </summary>
         /// </summary>
-        [Option("nowebcontent", Required = false, HelpText = "Indicates that the web server should not host any static web content.")]
+        [Option(ConfigurationExtensions.NoWebContentKey, Required = false, HelpText = "Indicates that the web server should not host any static web content.")]
         public bool NoWebContent { get; set; }
         public bool NoWebContent { get; set; }
 
 
         /// <summary>
         /// <summary>