diff options
author | 2019-01-02 23:08:00 +0000 | |
---|---|---|
committer | 2019-01-02 23:08:00 +0000 | |
commit | 97699edbc955e02f58419b17305169051cb36972 (patch) | |
tree | ef8d6d78b698c782f49469515f5af06677f2776e /usr.bin/mandoc/man_term.c | |
parent | Zap unused segment struct definition (diff) | |
download | wireguard-openbsd-97699edbc955e02f58419b17305169051cb36972.tar.xz wireguard-openbsd-97699edbc955e02f58419b17305169051cb36972.zip |
Error out on missing table command, zap internal wrapper function
Table name and table command require each other as reflected in the
synopsis [-t table -T command [address ...]], so print usage and exit if
only one of them is given.
By moving the inter-dependence check right after option parsing is done,
we can bail out even before opening pf(4) and drop the internal wrapper
pfctl_command_tables() as unneeded indirection with now duplicate checks.
OK sashan
Diffstat (limited to 'usr.bin/mandoc/man_term.c')
0 files changed, 0 insertions, 0 deletions