Skip to content

Commit 580bd8f

Browse files
authored
Update README.md
1 parent 573ff44 commit 580bd8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,10 @@ let main argv =
338338
}
339339
```
340340

341-
## Changing System.CommandLine Pipeline Defaults
341+
## Customizing the Default Pipeline
342342

343343
System.CommandLine has a `CommandLineBuilder` that allows the user to customize various behaviors.
344-
FSharp.SystemCommandLine is configured to use built-in defaults (`CommandLineBuilder().UseDefaults()`), but you can easily override them should the need arise via the `usePipeline` custom operation which gives you access to the `CommandLineBuilder`.
344+
FSharp.SystemCommandLine is configured to use built-in defaults (via `CommandLineBuilder().UseDefaults()`), but you can easily override them should the need arise via the `usePipeline` custom operation which gives you access to the `CommandLineBuilder`.
345345

346346
For example, the default behavior intercepts input strings that start with a "@" character via the "TryReplaceToken" feature. This will cause an issue if you need to accept input that starts with "@". Fortunately, you can disable this via `usePipeline`:
347347

@@ -359,7 +359,7 @@ let app (package: string) =
359359
eprintfn "The package name does not start with a leading @"
360360
1
361361
362-
//[<EntryPoint>]
362+
[<EntryPoint>]
363363
let main argv =
364364
365365
// The package option needs to accept strings that start with "@" symbol.

0 commit comments

Comments
 (0)