make it easier to initialize the global command line, improve its quoting and use in errors