Port of docopt for Erlang