diff cmd/sievemgr/put.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/put.go	Wed Feb 03 13:49:51 2021 +0100
+++ b/cmd/sievemgr/put.go	Wed Feb 17 07:50:55 2021 +0100
@@ -31,7 +31,9 @@
 
 func init() {
 	cmdPut.Flag.StringVar(&acctName, "a", "", "Select the account")
+	cmdPut.Flag.StringVar(&authzID, "A", "", "Specify the authorization identity")
 	cmdCheck.Flag.StringVar(&acctName, "a", "", "Select the account")
+	cmdCheck.Flag.StringVar(&authzID, "A", "", "Specify the authorization identity")
 }
 
 var cmdPut = &command{