diff 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
line wrap: on
line diff
--- a/cmd/sievemgr/doc.go	Sat Nov 28 23:44:45 2020 +0100
+++ b/cmd/sievemgr/doc.go	Thu Dec 03 13:52:28 2020 +0100
@@ -14,6 +14,7 @@
 	sievemgr [-f config] checkspace [-a account] script [file]
 	sievemgr [-f config] rename [-a account] old new
 	sievemgr [-f config] edit [-a account] script
+	sievemgr [-f config] man
 
 Description:
 
@@ -152,5 +153,9 @@
 exits with a non-zero exit status the local copy of script will not be
 submitted to the server.  In case of errors the local copy of the script will
 be preserved.
+
+	sievemgr [-f config] man
+
+Display the user manual.
 */
 package main