diff options
author | Tim Smith <tsmith@chef.io> | 2019-05-02 22:43:14 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-05-02 22:43:14 -0700 |
commit | e914d191b7c979149fd3aa59fe621e79db435da3 (patch) | |
tree | c18d3c3a82fbf1d893bfd060d936e192f178d700 /lib/chef/knife/user_create.rb | |
parent | a6bcf09092f9ad10f6f474f9c2892108f61ea5eb (diff) | |
download | chef-e914d191b7c979149fd3aa59fe621e79db435da3.tar.gz |
More periods and product constantsbranding
A few formatting fixes as well
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/knife/user_create.rb')
-rw-r--r-- | lib/chef/knife/user_create.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife/user_create.rb b/lib/chef/knife/user_create.rb index 6a4a123ad8..2381ffbdbd 100644 --- a/lib/chef/knife/user_create.rb +++ b/lib/chef/knife/user_create.rb @@ -18,6 +18,7 @@ # require "chef/knife" +require "chef/dist" class Chef class Knife @@ -41,7 +42,7 @@ class Chef option :prevent_keygen, short: "-k", long: "--prevent-keygen", - description: "API V1 (Chef Server 12.1+) only. Prevent server from generating a default key pair for you. Cannot be passed with --user-key.", + description: "API V1 (#{Chef::Dist::SERVER_PRODUCT} 12.1+) only. Prevent server from generating a default key pair for you. Cannot be passed with --user-key.", boolean: true banner "knife user create USERNAME DISPLAY_NAME FIRST_NAME LAST_NAME EMAIL PASSWORD (options)" |