summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorsawanoboly <sawanoboriyu@higanworks.com>2014-08-22 15:40:41 +0900
committersawanoboly <sawanoboriyu@higanworks.com>2014-08-22 15:40:41 +0900
commit6824b0def09bd6780b11e89c4fd86065f3c0e938 (patch)
tree7e890638c9255fbc65daca324e599ecfb1859701 /bin
parente1cb04ddc62fecfb7813d402acd1be07b87ff98a (diff)
downloadchef-zero-6824b0def09bd6780b11e89c4fd86065f3c0e938.tar.gz
change opttype from --ssl to --[no-]ssl
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chef-zero4
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