Changeset 36931 in project


Ignore:
Timestamp:
11/27/18 04:23:51 (2 weeks ago)
Author:
zbigniew
Message:

4/args: exhume and apply ancient patch to examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/args/trunk/args-examples.scm

    r32428 r36931  
    1414          (print "cookie was tasty"))
    1515        (args:make-option (d debug)           (optional: "LEVEL")  "debug level [default: 1]"
    16           (set! arg (or arg "1")))
     16          (set! arg (string->number (or arg "1"))))
    1717        (args:make-option (e elephant)  #:required "flatten the argument"
    1818          (print "elephant: arg is " arg))
Note: See TracChangeset for help on using the changeset viewer.