@@ -163,7 +163,7 @@ you can do so with a simple environment variable, instead of editing the
...
@@ -163,7 +163,7 @@ you can do so with a simple environment variable, instead of editing the
== Options
== Options
Usage: annotate [options] [model_file]*
Usage: annotate [options] [model_file]*
--additional-file-patterns Additional file paths or globs to annotate, separated by commas (e.g. `/foo/bar/%model_name%/*.rb,/baz/%model_name%.rb`)
--additional_file_patterns Additional file paths or globs to annotate, separated by commas (e.g. `/foo/bar/%model_name%/*.rb,/baz/%model_name%.rb`)
-d, --delete Remove annotations from all model files or the routes.rb file
-d, --delete Remove annotations from all model files or the routes.rb file
-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)
-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)
--position
--position
...
@@ -216,18 +216,18 @@ you can do so with a simple environment variable, instead of editing the
...
@@ -216,18 +216,18 @@ you can do so with a simple environment variable, instead of editing the
--ignore-unknown-models don't display warnings for bad model files
--ignore-unknown-models don't display warnings for bad model files
--with-comment include database comments in model annotations
--with-comment include database comments in model annotations
=== Option: +additional-file-patterns+
=== Option: +additional_file_patterns+
CLI: +--additional-file-patterns+<br>
CLI: +--additional_file_patterns+<br>
Ruby: +:additional-file-patterns+
Ruby: +:additional_file_patterns+
Provide additional paths for the gem to annotate. These paths can include globs.
Provide additional paths for the gem to annotate. These paths can include globs.
It is recommended to use absolute paths. Here are some examples:
It is recommended to use absolute paths. Here are some examples: