From: elijah Date: Wed, 13 Mar 2013 22:52:21 +0000 (-0700) Subject: oops, fixed bug in `leap cert csr` X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=53140910f9b0b43235fcf065c623763fabd3e0f9;p=leap%2Fleap_cli.git oops, fixed bug in `leap cert csr` --- diff --git a/lib/leap_cli/commands/ca.rb b/lib/leap_cli/commands/ca.rb index 5d68221..07e0f10 100644 --- a/lib/leap_cli/commands/ca.rb +++ b/lib/leap_cli/commands/ca.rb @@ -83,7 +83,7 @@ module LeapCli; module Commands cert.desc "Creates a CSR for use in buying a commercial X.509 certificate." cert.long_desc "Unless specified, the CSR is created for the provider's primary domain. The properties used for this CSR come from `provider.ca.server_certificates`." cert.command :csr do |csr| - csr.flag 'domain', :arg_name => 'DOMAIN', :desc => 'Specify what domain to create the CSR for.', :default_value => 'primary domain' + csr.flag 'domain', :arg_name => 'DOMAIN', :desc => 'Specify what domain to create the CSR for.' csr.action do |global_options,options,args| assert_config! 'provider.domain' assert_config! 'provider.name'