]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
utils: nfnl_osf: Fix synopsis in help text
authorPhil Sutter <phil@nwl.cc>
Wed, 20 Sep 2017 16:54:08 +0000 (18:54 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Oct 2017 13:53:57 +0000 (15:53 +0200)
* -d is optional
* -h is not really a flag, just anything not recognized triggers the
  help output.
* That '<del rules>' bit is rather confusing than helpful.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
utils/nfnl_osf.c

index 645ec648fcc6331bfa60ddab2757c63914657661..720e3a38dbd360f3ddca6c5a8d22a5d0ff4edb31 100644 (file)
@@ -438,7 +438,7 @@ int main(int argc, char *argv[])
                                break;
                        default:
                                fprintf(stderr,
-                                       "Usage: %s -f fingerprints -d <del rules> -h\n",
+                                       "Usage: %s -f fingerprints [-d]\n",
                                        argv[0]);
                                return -1;
                }