comparison cmd/sievemgr/rename.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 3abc8be485c0
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 cmdRename.Flag.StringVar(&acctName, "a", "", "Select the account") 25 cmdRename.Flag.StringVar(&acctName, "a", "", "Select the account")
26 cmdRename.Flag.StringVar(&authzID, "A", "", "Specify the authorization identity")
26 } 27 }
27 28
28 var cmdRename = &command{ 29 var cmdRename = &command{
29 UsageLine: "rename [options] old new", 30 UsageLine: "rename [options] old new",
30 Run: runRename, 31 Run: runRename,