Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Removed conditional ARGV

- Removed some todo items
  • Loading branch information...
commit 2f4046c6e3e154dc5834ca0a38e6c68cebb34d97 1 parent bf550a9
@tj authored
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 }
Please sign in to comment.
Something went wrong with that request. Please try again.