writing usage and errors to standard error stream