Skip to content

Commit 4256330

Browse files
committed
Fix mistakes in AdditionalFeatures.md
1 parent 3c6b82d commit 4256330

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Docs/AdditionalFeatures.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ parser.ParseKnownArguments(
5858
```
5959

6060
## Parse Known Arguments
61-
Sometimes a program may need to parse only part of the command-line arguments and pass the remaining arguments to another program. In this case, the `ParseKnownArguments` function may be useful. It works in much the same way as the `Parse` function, except that it doesn't throw an exception if there are additional arguments. Instead, it allows you to get a list of the extra argument.
61+
Sometimes a program may need to parse only part of the command-line arguments and pass the remaining arguments to another program. In this case, the `ParseKnownArguments` function may be useful. It works in much the same way as the `Parse` function, except that it doesn't throw an exception if there are additional arguments. Instead, it allows you to get a list of the extra arguments.
6262

6363
```cs
6464
bool verbose = false;
@@ -83,10 +83,8 @@ var parser = new ArgumentParser()
8383
NumberOfArgumentsToSkip = 1
8484
};
8585

86-
/*
87-
...
88-
parser.AddOptions(...);
89-
*/
86+
// ...
87+
// parser.AddOptions(...);
9088
9189
parser.Parse(new string[] { "merge", "./first.txt", "./second.txt" });
9290
// Only ["./first.txt", "./second.txt"] will be parsed

0 commit comments

Comments
 (0)