--- netcat.c.orig	2016-04-14 01:17:23.061175996 +0200
+++ netcat.c	2016-04-14 01:18:27.770907532 +0200
@@ -1479,7 +1479,7 @@
 
 /* If your shitbox doesn't have getopt, step into the nineties already. */
 /* optarg, optind = next-argv-component [i.e. flag arg]; optopt = last-char */
-  while ((x = getopt (argc, argv, "abe:g:G:hi:lno:p:q:rs:tuvw:z")) != EOF) {
+  while ((x = getopt (argc, argv, "abe:g:G:hi:lno:p:q:rs:tuUvw:z")) != EOF) {
 /* Debug (("in go: x now %c, optarg %x optind %d", x, optarg, optind)) */
     switch (x) {
       case 'a':
@@ -1549,6 +1549,7 @@
 	o_tn++; break;
 #endif /* TELNET */
       case 'u':				/* use UDP */
+      case 'U':				/* use UDP */
 	o_udpmode++; break;
       case 'v':				/* verbose */
 	o_verbose++; break;
