Format command keys to not include a slash