Open Maokaman1 opened 1 year ago
Fixing this issue will break someone's scripts though. FYI, @MartinWeindel.
Hello,
It's just a mistake that I did in #1480
Yes it's not the right type, I think this option is used by only a few people, so maybe we can break :thinking:
Yes it's not the right type, I think this option is used by only a few people, so maybe we can break
My bad, I missed that. I agree, it should be a BoolFlag.
Welcome
What did you expect to see?
Does it make any sense to require a String value for the
--always-deactivate-authorizations
boolean option? Other boolean options like--no-bundle
,--must-staple
behave as they should.https://github.com/go-acme/lego/blob/a7b11e0447290f8a8a6e1b38317fbf7e604ca890/cmd/cmd_run.go#L50-L52 https://github.com/go-acme/lego/blob/a7b11e0447290f8a8a6e1b38317fbf7e604ca890/cmd/cmd_renew.go#L70-L72
What did you see instead?
I get
flag needs an argument: -always-deactivate-authorizations
error.How do you use lego?
Binary
Reproduction steps
Version of lego
Logs
Go environment (if applicable)
No response