comparison cmd/sievemgr/checkspace.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 2130614cd64a
children
comparison
equal deleted inserted replaced
21:ad5f548e3b10 22:fc5e6970a0d5
28 "os" 28 "os"
29 ) 29 )
30 30
31 func init() { 31 func init() {
32 cmdCheckSpace.Flag.StringVar(&acctName, "a", "", "Select the account") 32 cmdCheckSpace.Flag.StringVar(&acctName, "a", "", "Select the account")
33 cmdCheckSpace.Flag.StringVar(&authzID, "A", "", "Specify the authorization identity")
33 } 34 }
34 35
35 var cmdCheckSpace = &command{ 36 var cmdCheckSpace = &command{
36 UsageLine: "checkspace [options] name [file]", 37 UsageLine: "checkspace [options] name [file]",
37 Run: runCheckSpace, 38 Run: runCheckSpace,