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
* Fix instances of `additional file patterns` in README
Other CLI flags are using dash, so using `--additional-file-patterns` notation to keep it similar to others.
* Tidy: Replace `*` with `*`
Doing some tidying now that we switched from RDoc to markdown.
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -199,7 +199,7 @@ you can do so with a simple environment variable, instead of editing the
199
199
## Options
200
200
201
201
Usage: annotate [options] [model_file]*
202
-
--additional_file_patterns Additional file paths or globs to annotate, separated by commas (e.g. `/foo/bar/%model_name%/*.rb,/baz/%model_name%.rb`)
202
+
--additional-file-patterns Additional file paths or globs to annotate, separated by commas (e.g. `/foo/bar/%model_name%/*.rb,/baz/%model_name%.rb`)
203
203
-d, --delete Remove annotations from all model files or the routes.rb file
204
204
-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)
205
205
--position
@@ -254,15 +254,15 @@ you can do so with a simple environment variable, instead of editing the
254
254
255
255
### Option: `additional_file_patterns`
256
256
257
-
CLI: `--additional_file_patterns`<br>
257
+
CLI: `--additional-file-patterns`<br>
258
258
Ruby: `:additional_file_patterns`
259
259
260
260
Provide additional paths for the gem to annotate. These paths can include
261
261
globs. It is recommended to use absolute paths. Here are some examples:
0 commit comments