From f2cd4f5641db4b336d09e6d9905a10baa2d7f8e5 Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Fri, 31 Jan 2025 14:42:03 +0100 Subject: [PATCH] Added docstrings to the global configuration class --- Tools/RemoteSynchronization/Program.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Tools/RemoteSynchronization/Program.cs b/Tools/RemoteSynchronization/Program.cs index 30cb717f2..1d3dafb15 100644 --- a/Tools/RemoteSynchronization/Program.cs +++ b/Tools/RemoteSynchronization/Program.cs @@ -54,12 +54,33 @@ namespace RemoteSynchronization /// private class GlobalConfig { + /// + /// Whether the tool should not actually write or delete files. Defaults to false. + /// internal static bool DryRun = DEFAULT_DRY_RUN; + /// + /// Whether the tool should force the synchronization. Defaults to false. + /// internal static bool Force = DEFAULT_FORCE; + /// + /// The log level to use. Defaults to "Information". + /// internal static string LogLevel = DEFAULT_LOG_LEVEL; + /// + /// The log file to write to. Defaults to an empty string. + /// internal static string LogFile = DEFAULT_LOG_FILE; + /// + /// Whether the tool should print progress to STDOUT. Defaults to false. + /// internal static bool Progress = DEFAULT_PROGRESS; + /// + /// Whether the tool should verify the contents of the files to decide whether the pre-existing destination files should be overwritten. Defaults to false. + /// internal static bool VerifyContents = DEFAULT_VERIFY_CONTENTS; + /// + /// Whether the tool should verify the files after uploading them to ensure that they were uploaded correctly. Defaults to false. + /// internal static bool VerifyGetAfterPut = DEFAULT_VERIFY_GET_AFTER_PUT; }