Usage text on Windows shows the wrong list separator

"Jason McCollum" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
In Windows, you have to use semi-colon ';' to separate things for the -m and -M options, but the usage text says to use a colon.  Here's a patch to fix the text:

diff -rup net-snmp-5.7.2-original/snmplib/snmp_parse_args.c net-snmp-5.7.2/snmplib/snmp_parse_args.c
--- net-snmp-5.7.2-original/snmplib/snmp_parse_args.c	2012-12-28 17:24:04.436295000 -0700
+++ net-snmp-5.7.2/snmplib/snmp_parse_args.c	2012-12-28 17:09:06.931830000 -0700
@@ -128,9 +128,9 @@ snmp_parse_args_descriptions(FILE * outf
			 "  -D[TOKEN[,...]]\tturn on debugging output for the specified TOKENs\n\t\t\t   (ALL gives extremely verbose debugging output)\n");
	 fprintf(outf, "General options\n");
	 fprintf(outf,
-		    "  -m MIB[:...]\t\tload given list of MIBs (ALL loads everything)\n");
+		    "  -m MIB[%c...]\t\tload given list of MIBs (ALL loads everything)\n", ENV_SEPARATOR_CHAR);
	 fprintf(outf,
-		    "  -M DIR[:...]\t\tlook in given list of directories for MIBs\n");
+		    "  -M DIR[%c...]\t\tlook in given list of directories for MIBs\n", ENV_SEPARATOR_CHAR);
#ifndef NETSNMP_DISABLE_MIB_LOADING
	 fprintf(outf,
			 "    (default: %s)\n", netsnmp_get_mib_directory());



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.