write out main command line