summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2018-05-11 20:33:55 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2018-05-11 20:33:55 +0000
commit0aa498214acc011221f7b1d6dd97ce0a64338176 (patch)
tree9e5792371e4d2be811e1623b4246e6d690fa4900
parent33487686c1897a6cebc401db331b2b2a4e58bbc3 (diff)
Make help output of relayctl redirect|host|table friendlier.
From Kapetanakis Giannis OK benno@
-rw-r--r--usr.sbin/relayctl/parser.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/relayctl/parser.c b/usr.sbin/relayctl/parser.c
index 0b97aa6ce6c..95c2ff23d1b 100644
--- a/usr.sbin/relayctl/parser.c
+++ b/usr.sbin/relayctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.27 2015/01/22 17:42:09 reyk Exp $ */
+/* $OpenBSD: parser.c,v 1.28 2018/05/11 20:33:54 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -81,21 +81,18 @@ static const struct token t_show[] = {
};
static const struct token t_rdr[] = {
- {NOTOKEN, "", NONE, NULL},
{KEYWORD, "disable", RDR_DISABLE, t_rdr_id},
{KEYWORD, "enable", RDR_ENABLE, t_rdr_id},
{ENDTOKEN, "", NONE, NULL}
};
static const struct token t_table[] = {
- {NOTOKEN, "", NONE, NULL},
{KEYWORD, "disable", TABLE_DISABLE, t_table_id},
{KEYWORD, "enable", TABLE_ENABLE, t_table_id},
{ENDTOKEN, "", NONE, NULL}
};
static const struct token t_host[] = {
- {NOTOKEN, "", NONE, NULL},
{KEYWORD, "disable", HOST_DISABLE, t_host_id},
{KEYWORD, "enable", HOST_ENABLE, t_host_id},
{ENDTOKEN, "", NONE, NULL}