logname: added help and version