tools.cli

summarize throws when called with an empty sequence of options

Details

  • Type: Defect Defect
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

When calling opt-parse with an empty sequence of options, summarize throws an exception.

actual: clojure.lang.ArityException: Wrong number of args (1) passed to: core$map
 at clojure.lang.AFn.throwArity (AFn.java:437)
    clojure.lang.RestFn.invoke (RestFn.java:412)
    clojure.lang.AFn.applyToHelper (AFn.java:161)
    clojure.lang.RestFn.applyTo (RestFn.java:132)
    clojure.core$apply.invoke (core.clj:619)
    clojure.tools.cli$summarize.invoke (cli.clj:375)

https://github.com/hugoduncan/tools.cli/compare/feature;fix-summary-no-options?expand=1

Activity

Sung Pae made changes -
Field Original Value New Value
Assignee Gareth Jones [ gar3thjon3s ] Sung Pae [ guns ]
Sung Pae made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: