Skip to content

Commit 5189f50

Browse files
committed
Remove outdated info. The parameter was changed in dotnet#1632
1 parent e93e60f commit 5189f50

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/articles/guides/dotnet-new-templates.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ dotnet new benchmark -lang VB
4444
The template projects has five additional options - all of them are optional.
4545

4646
By default a class library project targeting `netstandard2.0` is created.
47-
You can specify `-f` or `--frameworks` to change targeting to one or more frameworks:
47+
You can specify `-f` or `--framework` to change the target framework:
4848

4949
```log
50-
dotnet new benchmark -f netstandard2.0;net472
50+
dotnet new benchmark -f net472
5151
```
5252

5353
The option `--console-app` creates a console app project targeting `netcoreapp3.0` with an entry point:
@@ -57,7 +57,6 @@ dotnet new benchmark --console-app
5757
```
5858

5959
This lets you run the benchmarks from console (`dotnet run`) or from your favorite IDE.
60-
**Note:** option `-f` or `--frameworks` will be ignored when `--console-app` is set.
6160

6261
The option `-b` or `--benchmarkName` sets the name of the benchmark class:
6362

0 commit comments

Comments
 (0)