diff options
author | elijah <elijah@riseup.net> | 2013-02-23 20:52:38 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-02-23 20:52:38 -0800 |
commit | 330c856014130b599d85d90e2f943d23ab1efc19 (patch) | |
tree | d03f5def53d075494689d55c47b3e918868cac06 /lib/leap_cli/commands/test.rb | |
parent | d28e451529b748b144e3fb0278afece967132e9f (diff) |
minor improvements to wording of inline command help
Diffstat (limited to 'lib/leap_cli/commands/test.rb')
-rw-r--r-- | lib/leap_cli/commands/test.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/leap_cli/commands/test.rb b/lib/leap_cli/commands/test.rb index e895a5e..80a6333 100644 --- a/lib/leap_cli/commands/test.rb +++ b/lib/leap_cli/commands/test.rb @@ -1,23 +1,23 @@ module LeapCli; module Commands - desc 'Run tests' - command :test do |c| - c.desc 'Creates files needed to run tests' - c.command :init do |c| - c.action do |global_options,options,args| + desc 'Run tests.' + command :test do |test| + test.desc 'Creates files needed to run tests.' + test.command :init do |init| + init.action do |global_options,options,args| generate_test_client_cert generate_test_client_openvpn_config end end - c.desc 'Run tests' - c.command :run do |c| - c.action do |global_options,options,args| + test.desc 'Run tests.' + test.command :run do |run| + run.action do |global_options,options,args| log 'not yet implemented' end end - c.default_command :run + test.default_command :run end private |