Removed invalid reference to 'cmd'