diff --git a/main.go b/main.go index 8b2c755..a8d5606 100644 --- a/main.go +++ b/main.go @@ -36,7 +36,7 @@ func main() { 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("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) var versionCmd = &cobra.Command{ diff --git a/readme.md b/readme.md index aadfd6c..f271608 100644 --- a/readme.md +++ b/readme.md @@ -32,7 +32,7 @@ Flags: --crt-ext string The file extension of the generated certificates (default ".crt") --dest string Path to store the dump content. (default "./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") ``` @@ -48,7 +48,6 @@ traefik-certs-dumper dump --source ./acme.json --dest ./dump ```bash traefik-certs-dumper dump --crt-ext=.pem --key-ext=.pem - ``` - https://github.com/containous/traefik/issues/4381