fix(commands): no args not enforced on crypto hash generate (#5237)
This fixes an issue where the authelia crypto hash generate command does not require no arguments leading to some confusing output. Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>pull/5238/head
parent
81de035874
commit
0f4f5d5848
|
@ -61,6 +61,7 @@ func newCryptoHashGenerateCmd(ctx *CmdCtx) (cmd *cobra.Command) {
|
|||
Short: cmdAutheliaCryptoHashGenerateShort,
|
||||
Long: cmdAutheliaCryptoHashGenerateLong,
|
||||
Example: cmdAutheliaCryptoHashGenerateExample,
|
||||
Args: cobra.NoArgs,
|
||||
PreRunE: ctx.ChainRunE(
|
||||
ctx.ConfigSetDefaultsRunE(defaults),
|
||||
ctx.CryptoHashGenerateMapFlagsRunE,
|
||||
|
|
Loading…
Reference in New Issue