lib/cloudstack-cli/cli.rb in cloudstack-cli-1.4.2 vs lib/cloudstack-cli/cli.rb in cloudstack-cli-1.5.0
- old
+ new
@@ -33,10 +33,10 @@
desc "completion", "Load the shell scripts for <tab> auto-completion"
option :shell, default: 'bash'
def completion
shell_script = File.join(
File.dirname(__FILE__), '..', '..',
- 'completions', "cs.#{options[:shell]}"
+ 'completions', "cloudstack-cli.#{options[:shell]}"
)
unless File.file? shell_script
say "Specified cloudstack-cli shell auto-completion rules for #{options[:shell]} not found.", :red
exit 1
end