File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,10 @@ dotnet new benchmark -lang VB
4444The template projects has five additional options - all of them are optional.
4545
4646By 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
5353The 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
5959This 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
6261The option ` -b `  or ` --benchmarkName `  sets the name of the benchmark class:
6362
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments