From d362c74f34476f9f0fc5e4180e18751c028c7658 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 10 Jul 2021 16:20:29 -0500 Subject: add 'no-start' option --- src/slskd/Options.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/slskd/Options.cs') 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 @@ -85,6 +85,14 @@ namespace slskd [Description("suppress logo on startup")] public bool NoLogo { get; private set; } = false; + /// + /// Gets a value indicating whether the application should quit after initialization. + /// + [Argument('x', "no-start")] + [EnvironmentVariable("NO_START")] + [Description("quit the application after initialization")] + public bool NoStart { get; private set; } = false; + /// /// Gets the unique name for this instance. /// -- cgit v1.2.3