From 2b17246647ad3c02798d9b2ff0511a5f3c64f453 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 4 Dec 2019 16:54:59 +0000 Subject: [PATCH] README.make-secnet-sites: Slightly restructure mode docs This will make it easier to add a new mode. Signed-off-by: Ian Jackson --- README.make-secnet-sites | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.30.2