aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Options.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Options.cs')
-rw-r--r--src/slskd/Options.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs
index 7c697b43..98499fc9 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -86,6 +86,14 @@ namespace slskd
public bool NoLogo { get; private set; } = false;
/// <summary>
+ /// Gets a value indicating whether the application should quit after initialization.
+ /// </summary>
+ [Argument('x', "no-start")]
+ [EnvironmentVariable("NO_START")]
+ [Description("quit the application after initialization")]
+ public bool NoStart { get; private set; } = false;
+
+ /// <summary>
/// Gets the unique name for this instance.
/// </summary>
[Argument('i', "instance-name")]