Reordered the enum command type to its original ordering - now the print_command function works properly.