Don't try to print cmd_name before its initialised. From Amanous, Issue #48.