diff --git a/README.txt b/README.txt index 1a058fb..1ac0236 100644 --- a/README.txt +++ b/README.txt @@ -44,17 +44,6 @@ == TODO: -unless defined?(ActionController) - begin - $:.unshift "#{File.dirname(__FILE__)}/../../actionpack/lib" - require 'action_controller' - rescue LoadError - require 'rubygems' - gem 'actionpack', '>= 1.12.5' - end -end - - * utilize singleton mixin * utilize less command * more / better documentation * help generator options (such as large option description etc) diff --git a/lib/commander/manager.rb b/lib/commander/manager.rb index 2e7f23b..ca63445 100644 --- a/lib/commander/manager.rb +++ b/lib/commander/manager.rb @@ -36,7 +36,7 @@ def self.kill_instance! def initialize(options) @info, @command_options = options, {} - @user_args = @info[:argv] || ARGV.dup + @user_args = ARGV.dup @info[:help_generator] ||= Commander::HelpGenerators::Default init_version at_exit { run }