Format commandline commands