Permalink
Browse files

Fix minor typos

  • Loading branch information...
1 parent fcc084b commit beca444e9bbce4f34f50dd48b8c8fd3a8a98e96d @MCF committed May 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 oddjob
View
4 oddjob
@@ -165,7 +165,7 @@ if __FILE__ == $0
}
optparser = OptionParser.new do |o|
- o.banner = "Usage: #{File.basename($0)} [OPTIONS} [directory_to_serve]"
+ o.banner = "Usage: #{File.basename($0)} [OPTIONS] [directory_to_serve]"
o.separator <<EOF
Where directory_to_serve is the name of the directory that will be served up
@@ -216,7 +216,7 @@ EOF
show_error($!.to_s, true)
end
- show_error("too many arguments given", true) if(theRest.size > 1)
+ show_error("too many arguments given", true) if theRest.size > 1
opts[:directorytoserve] = theRest.pop if theRest.size == 1

0 comments on commit beca444

Please sign in to comment.