Mercurial > projects > managesieve
comparison cmd/sievemgr/main.go @ 1:eec31eb2d21a
Add info subcommand for displaying some information about the server
author | Guido Berhoerster <guido+managesieve@berhoerster.name> |
---|---|
date | Sat, 17 Oct 2020 22:40:57 +0200 |
parents | 6369453d47a3 |
children |
comparison
equal
deleted
inserted
replaced
0:6369453d47a3 | 1:eec31eb2d21a |
---|---|
51 cmdPut, | 51 cmdPut, |
52 cmdGet, | 52 cmdGet, |
53 cmdActivate, | 53 cmdActivate, |
54 cmdDeactivate, | 54 cmdDeactivate, |
55 cmdDelete, | 55 cmdDelete, |
56 cmdInfo, | |
56 } | 57 } |
57 | 58 |
58 func usage() { | 59 func usage() { |
59 fmt.Fprintf(flag.CommandLine.Output(), | 60 fmt.Fprintf(flag.CommandLine.Output(), |
60 "usage:\n %s [options] [subcommand [options] [arguments]]\n", | 61 "usage:\n %s [options] [subcommand [options] [arguments]]\n", |