We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0e9cb7 + 47d717e commit ae88004Copy full SHA for ae88004
README.md
@@ -91,17 +91,8 @@ class Options {
91
Consume them:
92
```csharp
93
static int Main(string[] args) {
94
- var result = CommandLine.Parser.Default.ParseArguments<Options>(args);
95
- var exitCode = result
96
- .MapResult(
97
- options => {
98
- if (options.Verbose) Console.WriteLine("Filenames: {0}", string.Join(",", options.InputFiles.ToArray()));
99
- return 0; },
100
- errors => {
101
- LogHelper.Log(errors);
102
- return 1; });
103
- return exitCode;
104
-}
+ var options = new Options();
+ var isValid = CommandLine.Parser.Default.ParseArgumentsStrict(args, options);
105
```
106
**F#:**
107
```fsharp
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments