petermr / ami3

Integration of cephis and normami code into a single base. Tests will be slimmed down
Apache License 2.0
17 stars 5 forks source link

Change pdfbox options --pdfimages and --svgpages #47

Closed remkop closed 4 years ago

remkop commented 4 years ago

Looking at pdfbox, this command has two options (--pdfimages and --svgpages) defined with arity="0..1" so they optionally take a parameter true or false. The default is true, I assume that is why the parameters are necessary.

I propose we change these to "negatable" options without parameters. So, --[no-]pdfimages and --[no-]svgpages respectively. Users would specify --no-pdfimages to stop the command from outputting pdf images. The default is unchanged.