blob: 89247bfc2fe4ef47e16036cd6f3acf19826f3345 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Usage: sockaddr eval [options] [template ...]
Parse the sockaddr template and evaluates the output.
The `sockaddr` library has the potential to be very complex,
which is why the `sockaddr` command supports an `eval`
subcommand in order to test configurations from the command
line. The `eval` subcommand automatically wraps its input
with the `{{` and `}}` template delimiters unless the `-r`
command is specified, in which case `eval` parses the raw
input. If the `template` argument passed to `eval` is a
dash (`-`), then `sockaddr eval` will read from stdin and
automatically sets the `-r` flag.
Options:
-d Debug output
-n Suppress newlines between args
-r Suppress wrapping the input with {{ }} delimiters
|