Better implementation to show details after command