소스 검색

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

Mark Monteiro 5 년 전
부모
커밋
5d48259046
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>