summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorPiyush Pangtey <gokuvsvegita@gmail.com>2016-03-09 12:46:53 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2016-03-09 13:31:41 +0100
commitf865c417ad5ac4f81e39bb0dfef514fb90f1605d (patch)
tree993f1a109d285cd1df7e6aade0aedc4c8508b6bb /src/main.c
parent4ad046e739acc7b49756b0233e8944420c2f59e0 (diff)
nft: Modified punctuation used in nft's show_help
Replaced '/' between shortopt and longopt with ',' , as used by other utilities. Signed-off-by: Piyush Pangtey <gokuvsvegita@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index 7bbcfc41..d643970f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -107,19 +107,19 @@ 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"
+" -h, --help Show this help\n"
+" -v, --version Show version information\n"
"\n"
-" -f/--file <filename> Read input from <filename>\n"
-" -i/--interactive Read input from interactive CLI\n"
+" -f, --file <filename> Read input from <filename>\n"
+" -i, --interactive Read input from interactive CLI\n"
"\n"
-" -n/--numeric When specified once, show network addresses numerically (default behaviour).\n"
+" -n, --numeric When specified once, show network addresses numerically (default behaviour).\n"
" When specified twice, show Internet services,\n"
" user IDs and group IDs numerically.\n"
" When specified thrice, also show protocols numerically.\n"
" -N Translate IP addresses to names.\n"
-" -a/--handle Output rule handle.\n"
-" -I/--includepath <directory> Add <directory> to the paths searched for include files.\n"
+" -a, --handle Output rule handle.\n"
+" -I, --includepath <directory> Add <directory> to the paths searched for include files.\n"
#ifdef DEBUG
" --debug <level [,level...]> Specify debugging level (scanner, parser, eval, netlink, mnl, proto-ctx, segtree, all)\n"
#endif