]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: Improve xtables-monitor first impression
authorPhil Sutter <phil@nwl.cc>
Tue, 7 Aug 2018 11:06:39 +0000 (13:06 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 9 Aug 2018 19:48:53 +0000 (21:48 +0200)
commite055aebe63c5d12be8e58e1dc5a5a018c3adf2ac
tree1c9207a3c2847885e9122baa2b12285aa3bdffb0
parentb92573303260736b0f9be9c1a9442ddec7fdcab2
xtables: Improve xtables-monitor first impression

First time users are likely to call 'xtables-monitor --help' to see
what's going on. Make this situation a bit more pleasant for them:

* When complaining about illegal arguments, add a final newline
  character to the error message.

* Actually support '--help' long option as an alias to '-h'.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/xtables-monitor.c