jnavila/plotkicadsch

Is it working?

leoheck opened this issue · 5 comments

I am running the upgraded master, but I can't make it work again.
Probably I am doing something wrong again.

•100% ➜ plotgitsch -l homebase-cache.lib -ifirefox HEAD HEAD^1
plotgitsch: unknown option `-l'.
Usage: plotgitsch [OPTION]... [FROM_REF] [TO_REF]
Try `plotgitsch --help' for more information.

It was not upgraded, =/ sorry.

Please note there is also the new --keep option to prevent deletion of diff files

Oh, cool. I was thinking here how to do to discover the new CLI features?

Does this thing help to create a good command line parser with integrated help?
Look the output on the 3rd box.

image

Found it here:
https://rosettacode.org/wiki/Command-line_arguments#OCaml

You can discover the command line options with plotgitsch --help, I used Arg for plotkicadsch, but it is a lot less powerful than Cmdliner which is used in plotgitsch, particularly for managing variable number of arguments.

I still don't clearly get what's the issue with how the help page is shown with plotgitsch, I find it well organized.