From: Ian Jackson Date: Wed, 4 Dec 2019 16:54:59 +0000 (+0000) Subject: README.make-secnet-sites: Slightly restructure mode docs X-Git-Tag: v0.6.0~58 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2b17246647ad3c02798d9b2ff0511a5f3c64f453;hp=56395f7c805466d4742c03716b5a19e574217737;p=secnet.git README.make-secnet-sites: Slightly restructure mode docs This will make it easier to add a new mode. Signed-off-by: Ian Jackson --- diff --git a/README.make-secnet-sites b/README.make-secnet-sites index 098cc8e..21d7291 100644 --- a/README.make-secnet-sites +++ b/README.make-secnet-sites @@ -1,16 +1,16 @@ USAGE - make-secnet-sites [-P PREFIX] [--conf] [IN [OUT]] - make-secnet-sites -u HEADER GRPDIR SITESFILE GROUP + make-secnet-sites [-P PREFIX] [--conf] [IN [OUTCONF]] + make-secnet-sites -u|--userv HEADER GRPDIR SITESFILE GROUP The `-P' option sets the PREFIX string, mentioned below in `OUTPUT STRUCTURE'; the default is empty. - In the former mode, `make-secnet-sites' reads a single input + In --conf mode, `make-secnet-sites' reads a single input file from IN (defaulting to standard input), and writes a Secnet - configuration fragment to OUT (defaulting to standard output). + configuration fragment to OUTCONF (defaulting to standard output). - In the latter, `make-secnet-sites' expects to have been invoked + In --userv mode, `make-secnet-sites' expects to have been invoked via GNU Userv. It verifies that GROUP is listed in the `USERV_GROUP' environment variable. It then processes the HEADER input, which should say `end-defintions' somewhere, to