Sha256: 49f39e626bc6a413b71e72b2bf45753d26cf91f7f1a1b980da99276c2ed7e33c

Contents?: true

Size: 268 Bytes

Versions: 4

Compression:

Stored size: 268 Bytes

Contents

#!/bin/env ruby

require "Getopt/Declare"

argspec = %q{
        [strict]
        --verbose		Print verbose info
        --			Traditional argument list terminator
                                                { finish }
}

args = Getopt::Declare.new(argspec)

p args

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
getopt-declare-1.12 samples/cmdline_finish.rb
getopt-declare-1.20 samples/cmdline_finish.rb
getopt-declare-1.21 samples/cmdline_finish.rb
getopt-declare-1.13 samples/cmdline_finish.rb