diff options
| author | Daniel Lo Nigro <d@d.sb> | 2022-03-18 17:04:17 -0700 |
|---|---|---|
| committer | Daniel Lo Nigro <d@d.sb> | 2022-03-18 17:04:17 -0700 |
| commit | 49cc058ea14435718abf2e95e36b8ef6c12b27bf (patch) | |
| tree | 53426ead9f608b1d53bbbcc7917d72aad3a51d99 /src/slskd/Options.cs | |
| parent | 0464030d853df284b97c8e12fd1338f9bf9649a3 (diff) | |
| download | slskd-49cc058ea14435718abf2e95e36b8ef6c12b27bf.tar.gz | |
Allow user description to be customized
Diffstat (limited to 'src/slskd/Options.cs')
| -rw-r--r-- | src/slskd/Options.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs index 64ca494f..a2c04333 100644 --- a/src/slskd/Options.cs +++ b/src/slskd/Options.cs @@ -695,6 +695,15 @@ namespace slskd public string Password { get; init; } = null; /// <summary> + /// Gets the description of the Soulseek user. + /// </summary> + [Argument(default, "slsk-description")] + [EnvironmentVariable("SLSK_DESCRIPTION")] + [Description("user description for the Soulseek network")] + [RequiresReconnect] + public string Description { get; init; } = "A slskd user. https://github.com/slskd/slskd"; + + /// <summary> /// Gets the port on which to listen for incoming connections. /// </summary> [Argument(default, "slsk-listen-port")] |
