mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
cmd/tools/redis-acl.go: adding flag for password length.
This commit is contained in:
parent
72b4f0a327
commit
bf97f2e97a
2 changed files with 9 additions and 8 deletions
|
|
@ -47,6 +47,7 @@ func init() {
|
|||
RedisACLCmd.Flags().String("prefix", "ship", "Redis key prefix")
|
||||
RedisACLCmd.Flags().Bool("cleartext", false, "If passwords should be hashed or left in cleartext.")
|
||||
RedisACLCmd.Flags().String("file", "", "Where the config should be written to (default: standard out)")
|
||||
RedisACLCmd.Flags().Uint("pass-len", 32, "The length of generated passwords")
|
||||
|
||||
rootCmd.AddCommand(
|
||||
validateCmd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue