logo       


r10994 - trunk/src/common/getopt: msg#00063

Subject: r10994 - trunk/src/common/getopt
Author: cgay
Date: Mon Nov 27 06:28:38 2006
New Revision: 10994

Modified:
   trunk/src/common/getopt/defargparser.dylan
Log:
job: minor
* Fixed synopsis example comment to show how to include a docstring
  for an option.  (It has really bizarre syntax.)
* Added some TODO comments.


Modified: trunk/src/common/getopt/defargparser.dylan
==============================================================================
--- trunk/src/common/getopt/defargparser.dylan  (original)
+++ trunk/src/common/getopt/defargparser.dylan  Mon Nov 27 06:28:38 2006
@@ -3,6 +3,13 @@
 authors: David Lichteblau <lichteblau@xxxxxxxxxxxxxx>
 copyright: see below
 
+// todo -- There is no error signalled if two options have the same short name
+//         (or long name, I assume).  --cgay 2006.11.27
+// todo -- There is no indication of default values in the generated synopsis,
+//         and the syntax for specifying "syntax" and docstring is bizarre at
+//         best.  --cgay 2006.11.27
+
+
 //======================================================================
 //
 //  Copyright (c) 1999-2001 David Lichteblau
@@ -149,8 +156,8 @@
 //           synopsis print-synopsis,
 //             usage: "test [options] file...",
 //             description: "Stupid test program doing nothing with the args.";
-//        
-//           ...
+//           option verbose?, "", "Explanation", short: "v", long: "verbose";
+//           option other, "", "foo", long: "other-option";
 //         end argument-parser;
 //
 //    Then print-synopsis(parser, stream) will print something like:
-- 
Gd-chatter mailing list
Gd-chatter@xxxxxxxxxxxxxxxx
https://www.opendylan.org/mailman/listinfo/gd-chatter



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe