]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
main: include '-d' in help.
authorJeremy Sowden <jeremy@azazel.net>
Thu, 5 Mar 2020 14:48:02 +0000 (14:48 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 Mar 2020 12:21:23 +0000 (13:21 +0100)
The short option for '--debug' was omitted from the help.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/main.c

index 81f30951c90f53a6bfc72541f0b27f018377da3a..3e37d600e38b925fbdea761548d53caa802ee882 100644 (file)
@@ -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 <filename>               Read input from <filename>\n"
-"  -i, --interactive           Read input from interactive CLI\n"
+"  -c, --check                         Check commands validity without actually applying the changes.\n"
+"  -f, --file <filename>                       Read input from <filename>\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 <directory>       Add <directory> to the paths searched for include files. Default is: %s\n"
-"  --debug <level [,level...]> 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 <directory>               Add <directory> to the paths searched for include files. Default is: %s\n"
+"  -d, --debug <level [,level...]>     Specify debugging level (scanner, parser, eval, netlink, mnl, proto-ctx, segtree, all)\n"
 "\n",
        name, DEFAULT_INCLUDE_PATH);
 }