Skip to content

Conversation

MatheusPoliCamilo
Copy link

Options documentation was out of date. I ran annotate --help on the latest version of the gem and updated the documentation.

Copy link
Contributor

@BryanH BryanH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please undo the e.g. -> i.e. updates and it should be good.

--trace If unable to annotate a file, print the full stack trace, not just the exception message.
-I, --ignore-columns REGEX don't annotate columns that match a given REGEX (e.g. `annotate -I '^(id|updated_at|created_at)'`)
--ignore-routes REGEX don't annotate routes that match a given REGEX (e.g. `annotate -I '(mobile|resque|pghero)'`)_
-I, --ignore-columns REGEX don't annotate columns that match a given REGEX (i.e., `annotate -I '^(id|updated_at|created_at)'`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original is correct here; these are examples.

  • i.e. (latin: id est), means "in other words"
  • e.g. (latin: exemplī grātiā), means "for example"

If we substitute the meaning for the abbreviation, it becomes clearer which one fits.

... don't annotate columns that match a given REGEX (in other words, annotate -I '^...

... don't annotate columns that match a given REGEX (for example, annotate -I '^...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants