From 573631d9b7ec6e85cc48d8f3a30edf61b40beabf Mon Sep 17 00:00:00 2001 From: Miguel Nieto Date: Sun, 7 Jun 2020 21:23:24 +0200 Subject: [PATCH] fix #4 --- ConfigSectionCrypt/Options.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfigSectionCrypt/Options.cs b/ConfigSectionCrypt/Options.cs index 6a083fd..6a2c1ac 100644 --- a/ConfigSectionCrypt/Options.cs +++ b/ConfigSectionCrypt/Options.cs @@ -6,7 +6,7 @@ public class Options { [Option('e', "encrypt", SetName = "encrypt", HelpText = "Encrypt the enumerated sections", Required = true)] public bool Encrypt { get => Operation == 'e'; set => Operation = value ? 'e' : 'd'; } - [Option('d', "dncrypt", SetName = "decrypt", HelpText = "Decrypt the enumerated sections", Required = true)] + [Option('d', "decrypt", SetName = "decrypt", HelpText = "Decrypt the enumerated sections", Required = true)] public bool Decrypt { get => Operation == 'd'; set => Operation = value ? 'd' : 'e'; } [Value(0, MetaName = "config_file", HelpText = "app.config or web.config to encrypt or decrypt", Required = true)]