Skip to content

Commit 2d7694e

Browse files
gregsherridctran
authored andcommitted
Fix spelling to commas (#379)
* Correct 'comas' to 'commas' in README
1 parent 441fc00 commit 2d7694e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ you can do so with a simple environment variable, instead of editing the
184184
-i, --show-indexes List the table's database indexes in the annotation
185185
-k, --show-foreign-keys List the table's foreign key constraints in the annotation
186186
-s, --simple-indexes Concat the column's related indexes in the annotation
187-
--model-dir dir Annotate model files stored in dir rather than app/models, separate multiple dirs with comas
187+
--model-dir dir Annotate model files stored in dir rather than app/models, separate multiple dirs with commas
188188
--ignore-model-subdirects Ignore subdirectories of the models directory
189189
--sort Sort columns alphabetically, rather than in creation order
190190
-R, --require path Additional file to require before loading models, may be used multiple times

bin/annotate

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ OptionParser.new do |opts|
119119
end
120120

121121
opts.on('--model-dir dir',
122-
"Annotate model files stored in dir rather than app/models, separate multiple dirs with comas") do |dir|
122+
"Annotate model files stored in dir rather than app/models, separate multiple dirs with commas") do |dir|
123123
ENV['model_dir'] = dir
124124
end
125125

126126
opts.on('--root-dir dir',
127-
"Annotate files stored within root dir projects, separate multiple dirs with comas") do |dir|
127+
"Annotate files stored within root dir projects, separate multiple dirs with commas") do |dir|
128128
ENV['root_dir'] = dir
129129
end
130130

@@ -181,7 +181,7 @@ OptionParser.new do |opts|
181181
ENV['ignore_routes'] = regex
182182
end
183183

184-
opts.on('--hide-limit-column-types VALUES', "don't show limit for given column types, separated by comas (i.e., `integer,boolean,text`)") do |values|
184+
opts.on('--hide-limit-column-types VALUES', "don't show limit for given column types, separated by commas (i.e., `integer,boolean,text`)") do |values|
185185
ENV['hide_limit_column_types'] = "#{values}"
186186
end
187187

0 commit comments

Comments
 (0)