Refinement and documentation for command line usage