[dylan-lang/testworks] c269a0: Use <choice-option> in command line parser.

GitHub <[email protected]> Sat, 25 Jul 2015 22:52:42 -0700
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <55b475aaaccf5_59b73f86aa6c32a0556ef@hookshot-fe6-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/use-choice-options
  Home:   https://github.com/dylan-lang/testworks
  Commit: c269a08d6ef8b0e7b464d774467f83db518c29f5
      https://github.com/dylan-lang/testworks/commit/c269a08d6ef8b0e7b464d774467f83db518c29f5
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M command-line.dylan
    M tests/test-command-line.dylan

  Log Message:
  -----------
  Use <choice-option> in command line parser.

Using <choice-option> results in better error reporting.

* command-line.dylan
  (general): Move some constants to the top of the file before
    they are used.
  (parse-args): Switch from <optional-parameter-option> and
    <parameter-option> to <choice-option>.
  (make-runner-from-command-line): Remove extraneous error handling
    now that <choice-option> is handling it.

* tests/test-command-line.dylan
  (test-make-runner-from-command-line): Remove test of bare --debug
    for now as it doesn't work any longer.

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter