Use format_get_command() and some spacing tweaks.