comparison cmd/sievemgr/get.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 "os" 25 "os"
26 ) 26 )
27 27
28 func init() { 28 func init() {
29 cmdGet.Flag.StringVar(&acctName, "a", "", "Select the account") 29 cmdGet.Flag.StringVar(&acctName, "a", "", "Select the account")
30 cmdGet.Flag.StringVar(&authzID, "A", "", "Specify the authorization identity")
30 } 31 }
31 32
32 var cmdGet = &command{ 33 var cmdGet = &command{
33 UsageLine: "get [options] name", 34 UsageLine: "get [options] name",
34 Run: runGet, 35 Run: runGet,