removes unnecessary spaces in command examples