Explorar o código

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

Mark Monteiro %!s(int64=5) %!d(string=hai) anos
pai
achega
5d48259046
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jellyfin.Server/StartupOptions.cs

+ 1 - 1
Jellyfin.Server/StartupOptions.cs

@@ -21,7 +21,7 @@ namespace Jellyfin.Server
         /// <summary>
         /// Gets or sets a value indicating whether the server should not host static web content.
         /// </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; }
 
         /// <summary>