diff --git a/src/dotnet-core-uninstall/Shared/Configs/CommandLineConfigs.cs b/src/dotnet-core-uninstall/Shared/Configs/CommandLineConfigs.cs index 06342239..863b07c8 100644 --- a/src/dotnet-core-uninstall/Shared/Configs/CommandLineConfigs.cs +++ b/src/dotnet-core-uninstall/Shared/Configs/CommandLineConfigs.cs @@ -128,9 +128,8 @@ internal static class CommandLineConfigs public static readonly Command VersionSubcommand = new Command("--version") { - IsHidden = true + Description = LocalizableStrings.VersionOptionDescription }; - public static readonly Option YesOption = new Option( new[] { "--yes", "-y" }, LocalizableStrings.YesOptionDescription); @@ -227,6 +226,7 @@ static CommandLineConfigs() { ListCommand.AddOption(MacOSPreserveVSSdksOption); RemoveCommand.AddOption(MacOSPreserveVSSdksOption); + DryRunCommand.AddOption(MacOSPreserveVSSdksOption); } var supportedBundleTypeNames = SupportedBundleTypeConfigs.GetSupportedBundleTypes().Select(type => type.OptionName);