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

modeHelp eats blank lines #49

Open
simonmichael opened this issue Oct 5, 2017 · 1 comment
Open

modeHelp eats blank lines #49

simonmichael opened this issue Oct 5, 2017 · 1 comment

Comments

@simonmichael
Copy link

I have a mode-building helper that wants to show multiple blank-line-separated paragraphs of help text, above the cmdargs-generated flags/subcommands help. This means using modeHelp, not modeHelpSuffix, but it seems blank lines in modeHelp are always removed. How about a PR to change that ?

@simonmichael
Copy link
Author

I mean: would a PR to stop this behaviour be welcome ? (Or if you change it before I figure out how, even better.)

And if the former... I guess a Test11 failure on mac with GHC 8.2 is expected ?

$ stack exec -- cmdargs --test
..........................................................................................................................................................................................................................................................................

FAILURE
Failed when should have succeeded
Name: Implicit Test11
Args: ["test11b","test"]
Error: Unhandled argument, none expected: test
......cmdargs: System.Console.CmdArgs.Implicit, unexpected no available name: ?
CallStack (from HasCallStack):
  error, called at ./System/Console/CmdArgs/Implicit/Local.hs:106:11 in main:System.Console.CmdArgs.Implicit.Local

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

No branches or pull requests

1 participant