try.docopt.org icon indicating copy to clipboard operation
try.docopt.org copied to clipboard

Handle double quoted arguments in argv

Open kalhartt opened this issue 11 years ago • 1 comments

It seems the argv form is passed directly to docopt as a string with no tokenizing, breaking double quoted arguments. An example here.

Maybe wrap this in shlex.split or something similar?

kalhartt avatar Oct 01 '14 02:10 kalhartt

Sorry for late reply.

Pull request is welcome.

keleshev avatar Nov 22 '14 18:11 keleshev