update and fix command line documentation