From 3b5bc33ea0467421c6bb9c440e42702dc9ae49cd Mon Sep 17 00:00:00 2001 From: Nikolay Kostov Date: Mon, 8 Jan 2018 08:23:51 +0200 Subject: [PATCH] Fixed usage of Default in README.md examples --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 593d98f4..8c4857d2 100644 --- a/README.md +++ b/README.md @@ -66,12 +66,12 @@ internal class Options { // Omitting long name, defaults to name of property, ie "--verbose" [Option( - DefaultValue = false, + Default = false, HelpText = "Prints all messages to standard output.")] public bool Verbose { get; set; } [Option("stdin", - DefaultValue = false + Default = false HelpText = "Read from stdin")] public bool stdin { get; set; } @@ -91,7 +91,7 @@ F# Examples: type options = { [] files : seq; [] verbose : bool; - [] language : string; + [] language : string; [] offset : int64 option; } @@ -115,7 +115,7 @@ Class Options HelpText:="Prints all messages to standard output.")> Public Property Verbose As Boolean - Public Property Language As String