From: Piyush Pangtey <gokuvsvegita@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: nft: Modified punctuation used in nft's show_help
Date: Wed, 9 Mar 2016 12:46:53 +0530 [thread overview]
Message-ID: <56DFCDE5.90003@gmail.com> (raw)
Replaced '/' between shortopt and longopt with ',' , as used by other utilities.
Signed-off-by: Piyush Pangtey <gokuvsvegita@gmail.com>
---
src/main.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/main.c b/src/main.c
index 7bbcfc4..d643970 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
--
1.9.1
next reply other threads:[~2016-03-09 7:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-09 7:16 Piyush Pangtey [this message]
2016-03-09 12:33 ` nft: Modified punctuation used in nft's show_help Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56DFCDE5.90003@gmail.com \
--to=gokuvsvegita@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).