mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
Accept single-hyphen usage and rename -programdatadir to -datadir
For backwards compatibility, modify the args[] strings to replace single-hyphens with double-hyphens before parsing. Also rename -programdatadir to -datadir.
This commit is contained in:
@@ -7,8 +7,8 @@ namespace Emby.Server.Implementations
|
||||
/// </summary>
|
||||
public class StartupOptions
|
||||
{
|
||||
[Option('d', "programdata", Required = false, HelpText = "Path to use for program data (databases files etc.).")]
|
||||
public string PathProgramData { get; set; }
|
||||
[Option('d', "datadir", Required = false, HelpText = "Path to use for the data folder (databases files etc.).")]
|
||||
public string PathData { get; set; }
|
||||
|
||||
[Option('c', "configdir", Required = false, HelpText = "Path to use for config data (user policies and puctures).")]
|
||||
public string PathConfig { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user