fixed command parsing error for chef-version option