aboutsummaryrefslogtreecommitdiff
path: root/doc/pies.texi
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-02-12 11:18:43 +0200
committerSergey Poznyakoff <gray@gnu.org>2021-02-12 11:18:43 +0200
commit4379433f23d663e4aa142089221f7ff2bc234e1b (patch)
tree977985e35e3097ead39f820f464b3f88d8b32b04 /doc/pies.texi
parentc3ee8d97ea8a427abd455c903157da94623e83dd (diff)
downloadpies-4379433f23d663e4aa142089221f7ff2bc234e1b.tar.gz
pies-4379433f23d663e4aa142089221f7ff2bc234e1b.tar.bz2
Fix preprocessor use and config file precedence in piesctl
* NEWS: Document changes. * doc/pies.texi: Document changes. * src/cmdline.opt: Don't set preprocessor if DEFAULT_PREPROCESSOR is NULL. * src/piesctl-cl.opt: New options: --preprocessor, --no-preprocessor. * src/piesctl.c (parse_config): If either client.url or default_url is set in the program-specific config, use it and don't parse pies.conf. This is consistent with the documented behavior. (main): Initialize grecs_preprocessor.
Diffstat (limited to 'doc/pies.texi')
-rw-r--r--doc/pies.texi12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/pies.texi b/doc/pies.texi
index d5b39ca..747c7ea 100644
--- a/doc/pies.texi
+++ b/doc/pies.texi
@@ -3357,13 +3357,21 @@ for a description of allowed URL forms.
Enable verbose diagnostics.
@end table
-Before parsing, configuration file is preprocessed using
-@command{m4}. The following options control this feature:
+Before parsing, configuration file is preprocessed using external
+command defined at buid time (normally @command{m4}). The following
+options control this feature:
@table @option
@item -E
Show preprocessed configuration on stdout and exit.
+@item --no-preprocessor
+Disable the use of the external preprocessor.
+
+@item --preprocessor=@var{cmd}
+Use the command @var{cmd} as the external preprocessor, instead of the
+default @command{m4}.
+
@item --define=@var{sym}[=@var{value}]
@itemx -D @var{symbol}[=@var{value}]
Define symbol @var{sym} as having @var{value}, or empty, if

Return to:

Send suggestions and report system problems to the System administrator.