From 96383a58801b7a0e5704e0fb246a2d46610217fd Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Thu, 5 Mar 2020 14:48:02 +0000 Subject: main: include '-d' in help. The short option for '--debug' was omitted from the help. Signed-off-by: Jeremy Sowden Signed-off-by: Pablo Neira Ayuso --- src/main.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 81f30951..3e37d600 100644 --- a/src/main.c +++ b/src/main.c @@ -140,28 +140,28 @@ static void show_help(const char *name) "Usage: %s [ options ] [ cmds... ]\n" "\n" "Options:\n" -" -h, --help Show this help\n" -" -v, --version Show version information\n" -" -V Show extended version information\n" +" -h, --help Show this help\n" +" -v, --version Show version information\n" +" -V Show extended version information\n" "\n" -" -c, --check Check commands validity without actually applying the changes.\n" -" -f, --file Read input from \n" -" -i, --interactive Read input from interactive CLI\n" +" -c, --check Check commands validity without actually applying the changes.\n" +" -f, --file Read input from \n" +" -i, --interactive Read input from interactive CLI\n" "\n" -" -j, --json Format output in JSON\n" -" -n, --numeric Print fully numerical output.\n" -" -s, --stateless Omit stateful information of ruleset.\n" -" -t, --terse Omit contents of sets.\n" -" -u, --guid Print UID/GID as defined in /etc/passwd and /etc/group.\n" -" -N Translate IP addresses to names.\n" -" -S, --service Translate ports to service names as described in /etc/services.\n" -" -p, --numeric-protocol Print layer 4 protocols numerically.\n" -" -y, --numeric-priority Print chain priority numerically.\n" -" -T, --numeric-time Print time values numerically.\n" -" -a, --handle Output rule handle.\n" -" -e, --echo Echo what has been added, inserted or replaced.\n" -" -I, --includepath Add to the paths searched for include files. Default is: %s\n" -" --debug Specify debugging level (scanner, parser, eval, netlink, mnl, proto-ctx, segtree, all)\n" +" -j, --json Format output in JSON\n" +" -n, --numeric Print fully numerical output.\n" +" -s, --stateless Omit stateful information of ruleset.\n" +" -t, --terse Omit contents of sets.\n" +" -u, --guid Print UID/GID as defined in /etc/passwd and /etc/group.\n" +" -N Translate IP addresses to names.\n" +" -S, --service Translate ports to service names as described in /etc/services.\n" +" -p, --numeric-protocol Print layer 4 protocols numerically.\n" +" -y, --numeric-priority Print chain priority numerically.\n" +" -T, --numeric-time Print time values numerically.\n" +" -a, --handle Output rule handle.\n" +" -e, --echo Echo what has been added, inserted or replaced.\n" +" -I, --includepath Add to the paths searched for include files. Default is: %s\n" +" -d, --debug Specify debugging level (scanner, parser, eval, netlink, mnl, proto-ctx, segtree, all)\n" "\n", name, DEFAULT_INCLUDE_PATH); } -- cgit v1.2.3