ExifTool Forum

ExifTool => Developers => Topic started by: obetz on February 17, 2020, 02:10:15 AM

Title: Static help text instead of extracting from Perl script
Post by: obetz on February 17, 2020, 02:10:15 AM
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
Title: Re: Static help text instead of extracting from Perl script
Post by: Phil Harvey on February 17, 2020, 07:33:18 AM
Good idea.

- Phil
Title: Re: Static help text instead of extracting from Perl script
Post by: obetz on February 18, 2020, 09:20:56 AM
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