summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application/filebucket.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/application/filebucket.rb')
-rw-r--r--lib/puppet/application/filebucket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/application/filebucket.rb b/lib/puppet/application/filebucket.rb
index ddc46e394..8e930f5e4 100644
--- a/lib/puppet/application/filebucket.rb
+++ b/lib/puppet/application/filebucket.rb
@@ -15,7 +15,7 @@ class Puppet::Application::Filebucket < Puppet::Application
attr :args
def run_command
- @args = Puppet::Util::CommandLine.args
+ @args = command_line.args
command = args.shift
return send(command) if %w[get backup restore].include? command
help