[ds6-devel] nc6 short option -e does not take arguments

Natsakis Konstantinos cyfex at wthess.net
Sun Aug 1 17:30:57 CEST 2004


Attached is a trivial patch to fix it..

-- 
cyfex

-------------- next part --------------
diff -urN nc6-0.5.orig/src/parser.c nc6-0.5/src/parser.c
--- nc6-0.5.orig/src/parser.c	Thu Mar 27 11:09:49 2003
+++ nc6-0.5/src/parser.c	Sun Aug  1 16:56:04 2004
@@ -148,7 +148,7 @@
 	_verbosity_level = 0;
 
 	/* option recognition loop */
-	while ((c = getopt_long(argc, argv, "46ehlnp:q:s:uvw:x",
+	while ((c = getopt_long(argc, argv, "46e:hlnp:q:s:uvw:x",
 	                        long_options, &option_index)) >= 0)
 	{
  		switch (c) {


More information about the ds6-devel mailing list