Skip to content

Commit

Permalink
Add "install -N" as short version of "--no-document"
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Nov 12, 2012
1 parent de4c716 commit a08b178
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/rubygems/install_update_options.rb
Expand Up @@ -56,6 +56,11 @@ def add_install_update_options
end
end

add_option(:"Install/Update", '-N', '--no-document',
'Disable documentation generation') do |value, options|
options[:document] = []
end

add_option(:Deprecated, '--[no-]rdoc',
'Generate RDoc for installed gems',
'Use --document instead') do |value, options|
Expand Down

0 comments on commit a08b178

Please sign in to comment.