summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli/commands/env.rb')
-rw-r--r--lib/leap_cli/commands/env.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/env.rb b/lib/leap_cli/commands/env.rb
index 75f7100..80be217 100644
--- a/lib/leap_cli/commands/env.rb
+++ b/lib/leap_cli/commands/env.rb
@@ -6,7 +6,7 @@ module LeapCli
"A node in one environment will never interact with a node from another environment. "+
"Environment pinning works by modifying your ~/.leaprc file and is dependent on the "+
"absolute file path of your provider directory (pins don't apply if you move the directory)"
- command :env do |c|
+ command [:env, :e] do |c|
c.desc "List the available environments. The pinned environment, if any, will be marked with '*'. Will also set the pin if run with an environment argument."
c.arg_name 'ENVIRONMENT', :optional => true
c.command :ls do |ls|