doc: fix typo.

This commit is contained in:
Fernandez Ludovic 2019-02-20 04:37:53 +01:00
parent 14112a73cc
commit 7e63c722b8
2 changed files with 2 additions and 3 deletions

View File

@ -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{

View File

@ -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