From b2c64784589886564c3dbd5ae140a8d9d8657681 Mon Sep 17 00:00:00 2001 From: Toastie Date: Fri, 27 Dec 2024 01:04:20 +1300 Subject: [PATCH] More cleanup --- SupportChild.cs | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/SupportChild.cs b/SupportChild.cs index 7eb5c76..f56f00d 100644 --- a/SupportChild.cs +++ b/SupportChild.cs @@ -24,28 +24,27 @@ internal static class SupportChild public class CommandLineArguments { [Option('c', - "config", - Required = false, - HelpText = "Select a config file to use.", - Default = "config.yml", - MetaValue = "PATH")] + "config", + Required = false, + HelpText = "Select a config file to use.", + Default = "config.yml", + MetaValue = "PATH")] public string configPath { get; set; } [Option('t', - "transcripts", - Required = false, - HelpText = "Select directory to store transcripts in.", - Default = "./transcripts", - MetaValue = "PATH")] + "transcripts", + Required = false, + HelpText = "Select directory to store transcripts in.", + Default = "./transcripts", + MetaValue = "PATH")] public string transcriptDir { get; set; } - [Option( - "leave", - Required = false, - HelpText = "Leaves one or more Discord servers. " + - "You can check which servers your bot is in when it starts up.", - MetaValue = "ID,ID,ID...", - Separator = ',' + [Option("leave", + Required = false, + HelpText = "Leaves one or more Discord servers. " + + "You can check which servers your bot is in when it starts up.", + MetaValue = "ID,ID,ID...", + Separator = ',' )] public IEnumerable serversToLeave { get; set; } }