5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'bin/coypond', line 5
def print_help
puts "Usage:"
puts " coypond search_term [options] [file1 [file2 [file3 [...]]]]"
puts ""
puts "Options:"
puts " -m:\n search method names\n\n"
puts " -c:\n search class names\n\n"
puts " -M:\n search Module names\n\n"
puts " -a:\n search all available type names (default: true unless another search option was given)\n\n"
puts " -r:\n treat the search term as a regular expression\n\n"
puts " -i:\n ignore case\n\n"
puts " -g [gem name]:\n look through types in gems beginning with the name specified\n\n"
puts ""
puts "Examples:"
puts " coypond initialize .\n\n"
puts " coypond \"ActiveRecord.*#validates_.*\" -r -g activerecord\n\n"
end
|