Mercurial > projects > sievemgr
diff cmd/sievemgr/activate.go @ 22:fc5e6970a0d5 default tip
Add support for specifying an authorization identity on the command line
author | Guido Berhoerster <guido+sievemgr@berhoerster.name> |
---|---|
date | Wed, 17 Feb 2021 07:50:55 +0100 |
parents | 4dff4c3f0fbb |
children |
line wrap: on
line diff
--- a/cmd/sievemgr/activate.go Wed Feb 03 13:49:51 2021 +0100 +++ b/cmd/sievemgr/activate.go Wed Feb 17 07:50:55 2021 +0100 @@ -23,7 +23,9 @@ func init() { cmdActivate.Flag.StringVar(&acctName, "a", "", "Select the account") + cmdActivate.Flag.StringVar(&authzID, "A", "", "Specify the authorization identity") cmdDeactivate.Flag.StringVar(&acctName, "a", "", "Select the account") + cmdDeactivate.Flag.StringVar(&authzID, "A", "", "Specify the authorization identity") } var cmdActivate = &command{