aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/slskd/Options.cs18
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")]