commandline icon indicating copy to clipboard operation
commandline copied to clipboard

NewLine missing between Usage and Example

Open msevestre opened this issue 9 years ago • 6 comments

Hi there,

I am using 2.1.1 beta. First this is a fantastic and easy to use library. Thanks a lot

I have just implemented some Usage feature according to documentation found in Wiki. Your example shows some newline between the Usage section and the Error section (see here). However they do not show up on my tests.

See output

PKSim
Copyright c 2017 - Open Systems Pharmacology Community

ERROR(S):
  Required option 'i, input' is missing.
  Required option 'o, output' is missing.
USAGE:
Create snapshot files from project files:
  PKSim.CLI snap --input <SnapshotFolder> --output <ProjectFolder> --snapshot
Create project files from snapshot files:
  PKSim.CLI snap --input <ProjectFolder> --output <SnapshotFolder> --project
Create project files from snapshot files and only log errors:
  PKSim.CLI snap --input <ProjectFolder> --logLevel Error --output <SnapshotFolder> --project

Would it be possible to add a Newline before USAGE. Also maybe a new line between each Example?

Cheers, Michael

msevestre avatar Nov 07 '17 17:11 msevestre

Hi, how exactly are you generating that? Can you point us to the code in your repo or copy the relevant code here?

I'll check it out and see what can be done.

ericnewton76 avatar Dec 30 '17 05:12 ericnewton76

Hi @ericnewton76

You can find the code here

Let me know if you need more info,

msevestre avatar Jan 07 '18 23:01 msevestre

waiting for this too, I thought already I`m to stupid. Feels good to see another one stuck there.

DominikWiesend avatar Jan 15 '18 22:01 DominikWiesend

@ericnewton76 Any news on that?

msevestre avatar Jun 12 '18 15:06 msevestre

Also I think there should be a line break before the USAGE: heading.

mchenzero avatar May 18 '19 04:05 mchenzero

This issue is addressed by #494

segunak avatar Nov 06 '19 20:11 segunak