[PATCH nft 1/4] main: include '-d' in help.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The short option for '--debug' was omitted from the help.

Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx>
---
 src/main.c | 40 ++++++++++++++++++++--------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/src/main.c b/src/main.c
index 81f30951c90f..3e37d600e38b 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 <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);
 }
-- 
2.25.1




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux