Skip to content

Commit c085e17

Browse files
authored
Fix sample usage for --format argument (#36009)
The argument `--key-format` was changed to `--format` in #23803, but the sample usage wasn't updated. Fixes #36008
1 parent c34df98 commit c085e17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tools/dotnet-dev-certs/src/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ internal class Program
3939
'dotnet dev-certs https --clean --import ./certificate.pfx -p password'
4040
'dotnet dev-certs https --check --trust'
4141
'dotnet dev-certs https -ep ./certificate.pfx -p password --trust'
42-
'dotnet dev-certs https -ep ./certificate.crt --trust --key-format Pem'
43-
'dotnet dev-certs https -ep ./certificate.crt -p password --trust --key-format Pem'";
42+
'dotnet dev-certs https -ep ./certificate.crt --trust --format Pem'
43+
'dotnet dev-certs https -ep ./certificate.crt -p password --trust --format Pem'";
4444

4545
public static readonly TimeSpan HttpsCertificateValidity = TimeSpan.FromDays(365);
4646

0 commit comments

Comments
 (0)