Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

autoShowUsage is documented wrong #82

Open
yanofsky opened this issue Jun 14, 2018 · 0 comments · Fixed by GerHobbelt/nomnom#1
Open

autoShowUsage is documented wrong #82

yanofsky opened this issue Jun 14, 2018 · 0 comments · Fixed by GerHobbelt/nomnom#1

Comments

@yanofsky
Copy link

The docs say

If no commands are called (the script is simply run without arguments), -h will be called automatically unless you've disabled this feature using the .autoShowHelp(false) API call.

The correct call to do this is .autoShowUsage(false)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant