Skip to content

Commit

Permalink
fix #4
Browse files Browse the repository at this point in the history
  • Loading branch information
mnieto committed Jun 7, 2020
1 parent 7e68ce7 commit 573631d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ConfigSectionCrypt/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 573631d

Please sign in to comment.