Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standardize the local usage functions #71

Merged
merged 1 commit into from
Sep 18, 2018
Merged

standardize the local usage functions #71

merged 1 commit into from
Sep 18, 2018

Conversation

PaulWessel
Copy link
Member

All modules define a local function call usage () that reports the module usage. It normally takes the API pointer and a mode argument. However, a few took an arbitrary 3rd argument as well. My plan is to introduce a new function that will accept the usage function as an argument and do the right things depending on modern or classic mode, hence all usage functions needed to have the same number of arguments. This change to pstext and mgd77track. accomplishes that.

Two of them had a third argument which makes abstraction complicated.  Now all have two args only.
@PaulWessel PaulWessel requested a review from a team September 18, 2018 18:02
@joa-quim joa-quim merged commit 28fc6eb into master Sep 18, 2018
@joa-quim joa-quim deleted the usagecleanup branch September 18, 2018 19:08
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.

None yet

2 participants