comparison cmd/sievemgr/delete.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
21 21
22 package main 22 package main
23 23
24 func init() { 24 func init() {
25 cmdDelete.Flag.StringVar(&acctName, "a", "", "Select the account") 25 cmdDelete.Flag.StringVar(&acctName, "a", "", "Select the account")
26 cmdDelete.Flag.StringVar(&authzID, "A", "", "Specify the authorization identity")
26 } 27 }
27 28
28 var cmdDelete = &command{ 29 var cmdDelete = &command{
29 UsageLine: "delete [options] name", 30 UsageLine: "delete [options] name",
30 Run: runDelete, 31 Run: runDelete,