Skip to content

Conversation

@saleyn
Copy link
Contributor

@saleyn saleyn commented Jul 23, 2013

The functions now allow to specify options:
[help | {skip, [Name::atom()]}]

help - instructs getopt:check/3 to return 'help'
    when "-h" command line option is given and
    option specification contains definition of 'help'.
    This is needed to short-circuit the checker of
            required options when help is requested.

{skip, Names} - tells the checker to skip checking given options

Added test cases for format_error/2 and the new functions mentioned above

The functions now allow to specify options:
    [help | {skip, [Name::atom()]}]

	help - instructs getopt:check/3 to return 'help'
		when "-h" command line option is given and
		option specification contains definition of 'help'.
		This is needed to short-circuit the checker of
                required options when help is requested.

	{skip, Names} - tells the checker to skip checking given options

Added test cases for format_error/2 and the new functions mentioned above
@saleyn
Copy link
Contributor Author

saleyn commented Sep 19, 2013

ping

1 similar comment
@ghost
Copy link

ghost commented Dec 12, 2013

ping

@jcomellas
Copy link
Owner

I'm not sure I like this completely. Let me analyze it for a bit and I will have a response tomorrow.

@saleyn
Copy link
Contributor Author

saleyn commented Dec 20, 2013

Did you get a chance to look at the patch?

@ghost
Copy link

ghost commented Jun 28, 2016

ping?

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.

2 participants