thaljef / Pinto

Curate your own repository of Perl modules
https://metacpan.org/module/Pinto::Manual
66 stars 49 forks source link

`pinto init --help` creates a repository called '--help' #230

Closed christopherraa closed 2 years ago

christopherraa commented 8 years ago

When trying find information about the various pinto commands I ran pinto init --help and assumed that this would pull up a manpage. Instead it returned no output but created a repository inside the directory '--help'. This handling of arguments was quite surprising, as I'm used to being provided information on subcommands when appending '--help', see for example git status --help and the like.

thaljef commented 7 years ago

Pinto relies on App::Cmd for the command line interface. Fortunately, I see that a --help option is now built in. So I will update it in the next release. In the meantime, pinto help <command> is the equivalent.

christopherraa commented 2 years ago

As this issue has been open the past five years I'll close it now.