added --no-header to documentation and fixed implementation