@@ -66,12 +66,12 @@ internal class Options {
6666
6767 // Omitting long name, defaults to name of property, ie "--verbose"
6868 [Option (
69- DefaultValue = false ,
69+ Default = false ,
7070 HelpText = " Prints all messages to standard output." )]
7171 public bool Verbose { get ; set ; }
7272
7373 [Option (" stdin" ,
74- DefaultValue = false
74+ Default = false
7575 HelpText = " Read from stdin" )]
7676 public bool stdin { get ; set ; }
7777
@@ -91,7 +91,7 @@ F# Examples:
9191type options = {
9292 [< Option ('r' , " read" , Required = true , HelpText = " Input files." )> ] files : seq < string > ;
9393 [< Option (HelpText = " Prints all messages to standard output." )> ] verbose : bool ;
94- [< Option (DefaultValue = " русский" , HelpText = " Content language." )> ] language : string ;
94+ [< Option (Default = " русский" , HelpText = " Content language." )> ] language : string ;
9595 [< Value (0 , MetaName = " offset" , HelpText = " File offset." )> ] offset : int64 option ;
9696}
9797
@@ -115,7 +115,7 @@ Class Options
115115 HelpText:="Prints all messages to standard output.")>
116116 Public Property Verbose As Boolean
117117
118- <CommandLine.Option(DefaultValue :="中文",
118+ <CommandLine.Option(Default :="中文",
119119 HelpText:="Content language.")>
120120 Public Property Language As String
121121
0 commit comments