docopt / docopt.go

A command-line arguments parser that will make you smile.
http://docopt.org/
MIT License
1.43k stars 108 forks source link

Add bad argument list to user error when possible #38

Closed benfleis closed 2 years ago

benfleis commented 8 years ago

Addresses https://github.com/docopt/docopt.go/issues/37

This allows Parse callers to emit the list of unexpected arguments in some common cases, e.g., extra arguments, out-of-order arguments.

fenollp commented 6 years ago

@benfleis Still interested in making this work?

benfleis commented 6 years ago

@fenollp I may take a look at it, but am pretty far removed from this -- I haven't done go work in over a year. Feel free to take my diff and rebase it up to speed :)

benfleis commented 2 years ago

Dead.