Skip to content

Commit

Permalink
updated usage
Browse files Browse the repository at this point in the history
  • Loading branch information
andreburgaud committed Jun 25, 2023
1 parent 22ab317 commit 2e9e380
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"fmt"
"os"
"path/filepath"
"showcert/internal/client"

"showcert/internal/cert"
"showcert/internal/client"
)

var (
Expand Down Expand Up @@ -55,6 +55,7 @@ const options = `
-h, --help Displays this help
-V, --version Displays application version
-c, --cert <cert_file> Parses a local certificate file
--cafile <PEM_file> Loads CAs from a PEM file
-d, --domain <domain_name> Parses a remote certificate
-v, --verify Requires certificate chain verification
Expand All @@ -72,6 +73,7 @@ const examples = `
%[1]s --verify google.com
%[1]s --verify --domain google.com
%[1]s --cert some_cert.pem
%[1]s --cafile some_ca.pem
`

Expand Down

0 comments on commit 2e9e380

Please sign in to comment.