Static help text instead of extracting from Perl script

Started by obetz, February 17, 2020, 02:10:15 AM

Previous topic - Next topic

obetz

Hi Phil,

instead of extracting parts of the exiftool script at runtime to a text file in %temp%, you could create such a help text file offline and bundle it with the ExifTool distribution.

Benefits:

* Simpler code
* No delay when help is requested first time
* No leftovers in the temp directory
* (The code can select the output method at runtime: perldoc or "more")

Oliver

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

obetz

This might also be the opportunity to reunite the Windows version and the non-Windows version.

The other differences could be easily handled at runtime:

* "link following for Windows exe version"
* "arguments embedded in filename"

Oliver