Format command line