|
From: McDonald, B. <Bru...@ba...> - 2003-08-05 23:35:49
|
Quick answer: 1. No formal way to do so. Choose a string identifier (take a look at some of the other examples) and then add the entry to the resource bundle and make the change to your code. You can easily test this. 2. Same as above. 3. No, the printUsage can automatically printusage for all defined arguments. -----Original Message----- From: David Glick [mailto:dg...@co...] Sent: Tuesday, August 05, 2003 11:15 AM To: bab...@li... Subject: [Babeldoc-devel] Config file dump committed; questions for completing Hi Bruce, I've committed my changes to dump the configuration files and contents. Hopefully, the following questions will make sense: 1. In the setupCommandLine() method, I've hard-coded the description string. I believe it should be changed into a reference key into the resource bundles (as the other description strings are in the same method), but I'm not sure if there is a formal way to do so. How do I assign the appropriate resource key? 2. I added a method printConfigInfo(). It also has a hard-coded string that should be changed. Same question as in #1 above. 3. Should the new '-d' option be added to the printUsage() method? It wasn't clear to me where it actually should be put. Thanks, David -- David Glick Transmit Consulting, Inc 619-475-4052 dg...@tr... ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Babeldoc-devel mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |