doc: fix typo.
This commit is contained in:
parent
14112a73cc
commit
7e63c722b8
2
main.go
2
main.go
@ -36,7 +36,7 @@ func main() {
|
|||||||
dumpCmd.Flags().String("source", "./acme.json", "Path to 'acme.json' file.")
|
dumpCmd.Flags().String("source", "./acme.json", "Path to 'acme.json' file.")
|
||||||
dumpCmd.Flags().String("dest", "./dump", "Path to store the dump content.")
|
dumpCmd.Flags().String("dest", "./dump", "Path to store the dump content.")
|
||||||
dumpCmd.Flags().String("crt-ext", ".crt", "The file extension of the generated certificates")
|
dumpCmd.Flags().String("crt-ext", ".crt", "The file extension of the generated certificates")
|
||||||
dumpCmd.Flags().String("key-ext", ".key", "The file extension of the generated privates keys")
|
dumpCmd.Flags().String("key-ext", ".key", "The file extension of the generated private keys")
|
||||||
rootCmd.AddCommand(dumpCmd)
|
rootCmd.AddCommand(dumpCmd)
|
||||||
|
|
||||||
var versionCmd = &cobra.Command{
|
var versionCmd = &cobra.Command{
|
||||||
|
|||||||
@ -32,7 +32,7 @@ Flags:
|
|||||||
--crt-ext string The file extension of the generated certificates (default ".crt")
|
--crt-ext string The file extension of the generated certificates (default ".crt")
|
||||||
--dest string Path to store the dump content. (default "./dump")
|
--dest string Path to store the dump content. (default "./dump")
|
||||||
-h, --help help for dump
|
-h, --help help for dump
|
||||||
--key-ext string The file extension of the generated privates keys (default ".key")
|
--key-ext string The file extension of the generated private keys (default ".key")
|
||||||
--source string Path to 'acme.json' file. (default "./acme.json")
|
--source string Path to 'acme.json' file. (default "./acme.json")
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -48,7 +48,6 @@ traefik-certs-dumper dump --source ./acme.json --dest ./dump
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
traefik-certs-dumper dump --crt-ext=.pem --key-ext=.pem
|
traefik-certs-dumper dump --crt-ext=.pem --key-ext=.pem
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- https://github.com/containous/traefik/issues/4381
|
- https://github.com/containous/traefik/issues/4381
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user