From 11d04772c46c1828fa644513e68cb1d931795718 Mon Sep 17 00:00:00 2001 From: ScrubN <72096833+ScrubN@users.noreply.github.com> Date: Mon, 5 Aug 2024 23:15:21 -0400 Subject: [PATCH] Adjust wording of CLI deprecated argument warnings --- TwitchDownloaderCLI/Tools/PreParseArgs.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TwitchDownloaderCLI/Tools/PreParseArgs.cs b/TwitchDownloaderCLI/Tools/PreParseArgs.cs index 017380c0..30d5105e 100644 --- a/TwitchDownloaderCLI/Tools/PreParseArgs.cs +++ b/TwitchDownloaderCLI/Tools/PreParseArgs.cs @@ -41,23 +41,23 @@ private static string[] ConvertFromOldSyntax(string[] args, string processFileNa switch (processedArgs[i]) { case "--embed-emotes": - Console.WriteLine("[INFO] The program has switched from --embed-emotes to -E / --embed-images, consider using those instead. Run \'{0} help\' for more information.", processFileName); + Console.WriteLine("[WARNING] --embed-emotes has been deprecated in favor of -E / --embed-images and may be removed. Run '{0} help' for more information.", processFileName); ConvertEmbedEmoteSyntax(processedArgs, i); break; case "-m" or "--mode": - Console.WriteLine("[INFO] The program has switched from --mode to verbs (like \'git \'), consider using verbs instead. Run \'{0} help\' for more information.", processFileName); + Console.WriteLine("[WARNING] --mode has been deprecated in favor of verbs (like 'git ') and may be removed. Run '{0} help' for more information.", processFileName); ConvertModeSyntax(processedArgs, i); break; case "--silent": - Console.WriteLine("[INFO] The program has switched from --silent to log levels, consider using log levels instead. '--log-level None' will be applied to the current session. Run \'{0} help\' for more information.", processFileName); + Console.WriteLine("[WARNING] --silent has been deprecated in favor of log levels. '--log-level None' will be applied to the current session and may be removed. Run '{0} help' for more information.", processFileName); ConvertSilentSyntax(processedArgs, i); break; case "--verbose-ffmpeg": - Console.WriteLine("[INFO] The program has switched from --verbose-ffmpeg to log levels, consider using log levels instead. '--log-level Status,Info,Warning,Error,Ffmpeg' will be applied to the current session. Run \'{0} help\' for more information.", processFileName); + Console.WriteLine("[WARNING] --verbose-ffmpeg has been deprecated in favor of log levels and may be removed. '--log-level Status,Info,Warning,Error,Ffmpeg' will be applied to the current session. Run '{0} help' for more information.", processFileName); ConvertVerboseFfmpegSyntax(processedArgs, i); break; case "--chat-connections": - Console.WriteLine("[INFO] The program has switched from --chat-connections to -t / --threads, consider using those instead. Run \'{0} help\' for more information.", processFileName); + Console.WriteLine("[WARNING] --chat-connections has been deprecated in favor of -t / --threads and may be removed. Run '{0} help' for more information.", processFileName); ConvertChatConnectionsSyntax(processedArgs, i); break; }