update(sw, sopts, lopts, nsw = nil, nlopts = nil) private

Adds sw according to sopts, lopts and nlopts.

sw

OptionParser::Switch instance to be added.

sopts

Short style option list.

lopts

Long style option list.

nlopts

Negated long style options list.

Show source
Register or log in to add new notes.