Improve documentation for key

also try to fix command formatting