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

Make --ghc-options and --ghcjs-boot-options take multiple args #3315 #3316

Merged
merged 3 commits into from
Aug 7, 2017

Conversation

mgsloan
Copy link
Contributor

@mgsloan mgsloan commented Aug 6, 2017

  • Any changes that could be relevant to users have been recorded in the ChangeLog.md
  • The documentation has been updated, if necessary.

@mgsloan mgsloan changed the title Make --ghc-options and --ghcjs-bot-options take multiple args #3315 Make --ghc-options and --ghcjs-boot-options take multiple args #3315 Aug 7, 2017
argsArgument :: O.Mod O.ArgumentFields [String] -> O.Parser [String]
argsArgument =
O.argument
(do string <- O.str
either O.readerError return (parseArgsFromString string))

-- | Like 'textArgsOption', but allows the option to be used multiple
-- time. The options get concatenated.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small typo: s/time/times/g

@decentral1se
Copy link
Member

Took a stab at fixing that comment and adding a test to move this one along!

@mgsloan mgsloan merged commit 9ae8070 into master Aug 7, 2017
@mgsloan
Copy link
Contributor Author

mgsloan commented Aug 7, 2017

Thanks @lwm !

@decentral1se decentral1se deleted the multiword-ghc-options branch August 7, 2017 20:07
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