diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-07-11 19:49:18 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-07-11 19:49:18 -0500 |
| commit | 1c1733bfd3a5bd203ceacb3fe1611b7cc74156da (patch) | |
| tree | 55afc9bfc51b03adfd323808410c820145479690 /src/slskd/Options.cs | |
| parent | eaa6a1be21747f46370b5b1d545b31513eeb3ed8 (diff) | |
| parent | fe49922ba8271c2bc14f51106b3d97eb87942346 (diff) | |
| download | slskd-1c1733bfd3a5bd203ceacb3fe1611b7cc74156da.tar.gz | |
Merge remote-tracking branch 'origin/master' into options
Diffstat (limited to 'src/slskd/Options.cs')
| -rw-r--r-- | src/slskd/Options.cs | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs index 98499fc9..7e4880c6 100644 --- a/src/slskd/Options.cs +++ b/src/slskd/Options.cs @@ -221,24 +221,22 @@ namespace slskd public class SoulseekOptions { /// <summary> - /// Gets the password for the Soulseek network. - /// </summary> - [Argument(default, "slsk-password")] - [EnvironmentVariable("SLSK_PASSWORD")] - [Description("password for the Soulseek network")] - [Required] - public string Password { get; private set; } = null; - - /// <summary> /// Gets the username for the Soulseek network. /// </summary> [Argument(default, "slsk-username")] [EnvironmentVariable("SLSK_USERNAME")] [Description("username for the Soulseek network")] - [Required] public string Username { get; private set; } = null; /// <summary> + /// Gets the password for the Soulseek network. + /// </summary> + [Argument(default, "slsk-password")] + [EnvironmentVariable("SLSK_PASSWORD")] + [Description("password for the Soulseek network")] + public string Password { get; private set; } = null; + + /// <summary> /// Gets the port on which to listen for incoming connections. /// </summary> [Argument(default, "slsk-listen-port")] |
