chef env command line utility is only showing output for --help instead of prompting for license acceptance

43 views Asked by At

When I try to accept the chef license from the command line, as part of my chef workstation setup, I just see the output for the --help flag

user in ~  > chef env --chef-license accept
Prints environment variables used by Chef Workstation

Usage:
  chef env [flags]

Flags:
  -h, --help   help for env

Global Flags:
      --chef-license ACCEPTANCE   Accept product license, where ACCEPTANCE is one of 'accept', 'accept-no-persist', or 'accept-silent'
  -c, --config CONFIG_FILE_PATH   Read configuration from CONFIG_FILE_PATH
  -d, --debug                     Enable debug output when available
  -v, --version                   Show Chef Workstation version information

I have no idea why this could be happening. I'm using a zsh shell on mac if that makes any difference.

0

There are 0 answers