finish command line and documentation