You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rdoc
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ you can do so with a simple environment variable, instead of editing the
163
163
== Options
164
164
165
165
Usage: annotate [options] [model_file]*
166
-
--additional-file-patterns Additional file paths or globs to annotate, separated by commas (e.g. `/foo/bar/%model_name%/*.rb,/baz/%model_name%.rb`)
166
+
--additional_file_patterns Additional file paths or globs to annotate, separated by commas (e.g. `/foo/bar/%model_name%/*.rb,/baz/%model_name%.rb`)
167
167
-d, --delete Remove annotations from all model files or the routes.rb file
168
168
-p [before|top|after|bottom], Place the annotations at the top (before) or the bottom (after) of the model/test/fixture/factory/route/serializer file(s)
169
169
--position
@@ -216,18 +216,18 @@ you can do so with a simple environment variable, instead of editing the
216
216
--ignore-unknown-models don't display warnings for bad model files
217
217
--with-comment include database comments in model annotations
218
218
219
-
=== Option: +additional-file-patterns+
219
+
=== Option: +additional_file_patterns+
220
220
221
-
CLI: +--additional-file-patterns+<br>
222
-
Ruby: +:additional-file-patterns+
221
+
CLI: +--additional_file_patterns+<br>
222
+
Ruby: +:additional_file_patterns+
223
223
224
224
Provide additional paths for the gem to annotate. These paths can include globs.
225
225
It is recommended to use absolute paths. Here are some examples:
0 commit comments