Updated show command to return a status code