diff options
author | sawanoboly <sawanoboriyu@higanworks.com> | 2014-08-22 15:40:41 +0900 |
---|---|---|
committer | sawanoboly <sawanoboriyu@higanworks.com> | 2014-08-22 15:40:41 +0900 |
commit | 6824b0def09bd6780b11e89c4fd86065f3c0e938 (patch) | |
tree | 7e890638c9255fbc65daca324e599ecfb1859701 /bin | |
parent | e1cb04ddc62fecfb7813d402acd1be07b87ff98a (diff) | |
download | chef-zero-6824b0def09bd6780b11e89c4fd86065f3c0e938.tar.gz |
change opttype from --ssl to --[no-]ssl
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chef-zero | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/chef-zero b/bin/chef-zero index dc58e68..050d28f 100755 --- a/bin/chef-zero +++ b/bin/chef-zero @@ -58,8 +58,8 @@ OptionParser.new do |opts| options[:data_store] = ChefZero::DataStore::RawFileStore.new(value) end - opts.on("--ssl", "Use SSL with self-signed certificate(Auto generate before every run)") do - options[:ssl] = true + opts.on("--[no-]ssl", "Use SSL with self-signed certificate(Auto generate before every run). Default: false.") do |value| + options[:ssl] = value end opts.on_tail("-h", "--help", "Show this message") do |