Skip to content

Commit ecb3bd1

Browse files
ziezjonsequitur
authored andcommitted
Update How-To.md
Added missing ```new``` before ```RootCommand```
1 parent 039a105 commit ecb3bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/How-To.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The following command lines will be equivalent:
3535
Commands can have child commands, often called verbs, and these can nest as many levels as you like. You can add a subcommand like this:
3636

3737
```csharp
38-
var parent = RootCommand("parent");
38+
var parent = new RootCommand("parent");
3939
var child = new Command("child");
4040
parent.Add(child);
4141
var grandchild = new Command("grandchild");

0 commit comments

Comments
 (0)