Skip to content

Commit

Permalink
Merge pull request #705 from smallstep/ssh-needs-renewal-docfix
Browse files Browse the repository at this point in the history
Docs: `ssh needs-renewal` does not accept a hostname
  • Loading branch information
dopey committed Jul 19, 2022
2 parents 283eb0e + d77dc82 commit d3e9040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/ssh/needsRenewal.go
Expand Up @@ -21,7 +21,7 @@ func needsRenewalCommand() cli.Command {
Name: "needs-renewal",
Action: cli.ActionFunc(needsRenewalAction),
Usage: `Check if an SSH certificate needs to be renewed`,
UsageText: `**step ssh needs-renewal** <crt-file or hostname> [**--expires-in**=<percent|duration>]`,
UsageText: `**step ssh needs-renewal** <crt-file> [**--expires-in**=<percent|duration>]`,
Description: `**step ssh needs-renewal** returns '0' if the SSH certificate needs
to be renewed based on it's remaining lifetime. Returns '1' if the SSH certificate is
within it's validity lifetime bounds and does not need to be renewed. Returns
Expand All @@ -31,7 +31,7 @@ adjusted using the '--expires-in' flag.
## POSITIONAL ARGUMENTS
<cert-file or hostname>
<cert-file>
: The path to an SSH certificate.
## EXIT CODES
Expand Down

0 comments on commit d3e9040

Please sign in to comment.