comparison cmd/sievemgr/list.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
comparison
equal deleted inserted replaced
21:ad5f548e3b10 22:fc5e6970a0d5
25 "fmt" 25 "fmt"
26 ) 26 )
27 27
28 func init() { 28 func init() {
29 cmdList.Flag.StringVar(&acctName, "a", "", "Select the account") 29 cmdList.Flag.StringVar(&acctName, "a", "", "Select the account")
30 cmdList.Flag.StringVar(&authzID, "A", "", "Specify the authorization identity")
30 } 31 }
31 32
32 var cmdList = &command{ 33 var cmdList = &command{
33 UsageLine: "list [options]", 34 UsageLine: "list [options]",
34 Run: runList, 35 Run: runList,