Skip to content

Commit

Permalink
Removed redundant -R command line option
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonl committed Aug 28, 2010
1 parent 71e4acb commit 7b16066
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bin/eden
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ options = {}

# Command-line options parser
opts = OptionParser.new do |opts|
options[:recurse] = false
options[:backup] = false

opts.banner = <<BANNER
usage: eden command [options] source_files
--
Expand All @@ -83,10 +84,6 @@ rewrite - rewrite the source file in place with adjusted formatting
Options:
BANNER
opts.on('-R', '--recursive', "Recursively search subdirectories") do
options[:recurse] = true
end

opts.on('-B', '--backup', "Make backups of changed files") do
options[:backup] = true
end
Expand Down

0 comments on commit 7b16066

Please sign in to comment.