nc: show help text on bad parameters
[oweals/busybox.git] / networking / tunctl.c
index a8e5270ad5b645b82d9a2871467abaf3f9328810..e17a9db64a6482b2ac838b08200f341a086f2f46 100644 (file)
@@ -7,7 +7,7 @@
  * Original code:
  *      Jeff Dike
  *
- * Licensed under GPLv2, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2, see file LICENSE in this source tree.
  */
 #include <netinet/in.h>
 #include <net/if.h>
@@ -48,9 +48,9 @@ int tunctl_main(int argc UNUSED_PARAM, char **argv)
        };
 
        opt_complementary = "=0:t--d:d--t"; // no arguments; t ^ d
-       opts = getopt32(argv, "f:t:d:" USE_FEATURE_TUNCTL_UG("u:g:b"),
+       opts = getopt32(argv, "f:t:d:" IF_FEATURE_TUNCTL_UG("u:g:b"),
                        &opt_device, &opt_name, &opt_name
-                       USE_FEATURE_TUNCTL_UG(, &opt_user, &opt_group));
+                       IF_FEATURE_TUNCTL_UG(, &opt_user, &opt_group));
 
        // select device
        memset(&ifr, 0, sizeof(ifr));