Browse files

- Removed conditional ARGV

- Removed some todo items
  • Loading branch information...
1 parent bf550a9 commit 2f4046c6e3e154dc5834ca0a38e6c68cebb34d97 @tj committed Nov 6, 2008
Showing with 1 addition and 12 deletions.
  1. +0 −11 README.txt
  2. +1 −1 lib/commander/manager.rb
View
11 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)
View
2 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 }

0 comments on commit 2f4046c

Please sign in to comment.