updated command line function and brief document