Fix 'cmd' leak in help command