Mercurial > projects > sievemgr
comparison cmd/sievemgr/doc.go @ 10:44c07eb8ef08
Add man subcommand to display the user manual
Generate the manual from the documentation in godoc format.
author | Guido Berhoerster <guido+sievemgr@berhoerster.name> |
---|---|
date | Thu, 03 Dec 2020 13:52:28 +0100 |
parents | 7ce77ceeaccc |
children | 2b799ca75d96 |
comparison
equal
deleted
inserted
replaced
9:7ce77ceeaccc | 10:44c07eb8ef08 |
---|---|
12 sievemgr [-f config] delete [-a account] script | 12 sievemgr [-f config] delete [-a account] script |
13 sievemgr [-f config] check [-a account] [file] | 13 sievemgr [-f config] check [-a account] [file] |
14 sievemgr [-f config] checkspace [-a account] script [file] | 14 sievemgr [-f config] checkspace [-a account] script [file] |
15 sievemgr [-f config] rename [-a account] old new | 15 sievemgr [-f config] rename [-a account] old new |
16 sievemgr [-f config] edit [-a account] script | 16 sievemgr [-f config] edit [-a account] script |
17 sievemgr [-f config] man | |
17 | 18 |
18 Description: | 19 Description: |
19 | 20 |
20 sievemgr is a client for managing Sieve scripts on remote servers via the | 21 sievemgr is a client for managing Sieve scripts on remote servers via the |
21 ManageSieve Protocol (RFC 5804). Given valid credentials, sievemgr can be | 22 ManageSieve Protocol (RFC 5804). Given valid credentials, sievemgr can be |
150 Retrieve a copy of script and start the editor referred to in the $EDITOR | 151 Retrieve a copy of script and start the editor referred to in the $EDITOR |
151 environment variable. If the local copy has not been modified or the editor | 152 environment variable. If the local copy has not been modified or the editor |
152 exits with a non-zero exit status the local copy of script will not be | 153 exits with a non-zero exit status the local copy of script will not be |
153 submitted to the server. In case of errors the local copy of the script will | 154 submitted to the server. In case of errors the local copy of the script will |
154 be preserved. | 155 be preserved. |
156 | |
157 sievemgr [-f config] man | |
158 | |
159 Display the user manual. | |
155 */ | 160 */ |
156 package main | 161 package main |