Skip to content

Comments

Optional argument brackets were appearing in the usage message for mandatory arguments.#50

Open
IncredulousMonk wants to merge 1 commit intojcomellas:masterfrom
IncredulousMonk:master
Open

Optional argument brackets were appearing in the usage message for mandatory arguments.#50
IncredulousMonk wants to merge 1 commit intojcomellas:masterfrom
IncredulousMonk:master

Conversation

@IncredulousMonk
Copy link

For example, the call getopt:usage([{file, undefined, undefined, string, "A file"}], "test"). was producing this:

Usage: test [<file>]

  <file>  A file

when it should have been producing this:

Usage: test <file>

  <file>  A file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant