There is currently no way to do what you want, but I'd like to add this feature. I'm just unsure what the best/simplest API would be.
Cold you open an issue about it in ArgParse.jl <https://github.com/carlobaldassi/ArgParse.jl> in the meanwhile? On Saturday, April 4, 2015 at 11:50:03 PM UTC+2, Peter Simon wrote: > > I'm using the remarkable Argparse package, and in the help epilog, I would > like to include several examples of calling the program, with each example > separated from its predecessor by a newline. Is this possible? For > example, if the user types `myprog -h`, then at the end of the help output > I would like something along the lines: > > > Example 1: "myprog arg1 arg2 --flag1 --opt1 5" does > lots of good stuff. > > Example 2: "myprog arg1 --opt2 0" does something > completely different. > > > Right now I get instead the following, where the lines are all > automatically wrapped: > > Example 1: "myprog arg1 arg2 --flag1 --opt1 5" does > lots of good stuff. Example 2: "myprog arg1 --opt2 0" > does something completely different. > > > Is there some way to force a newline within the epilog text string? > > Thanks in advance, > --Peter >
