Import version 1.0.4-basis
Removed unknown -l option for fmt
Fixed variable name
Added required 'X' char for mktemp to work when the --helpman command is invoked
Fixed command name when --version is invoked.
Updated header
Added required flags validation.