Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify filter SCAN_DATE docs #257

Merged
merged 2 commits into from
Dec 9, 2016
Merged

Conversation

nbirnel
Copy link
Contributor

@nbirnel nbirnel commented Dec 7, 2016

Description

No code changes, just comments.

Motivation and Context

This is meant to clarify some doc-strings which I found confusing.
See #256

Checklist:

  • I have updated the documentation accordingly (if changes are required).

@@ -120,8 +120,8 @@ module Field

# Search based on the last scan date of an asset.
# Valid Operators: ON_OR_BEFORE, ON_OR_AFTER, BETWEEN, EARLIER_THAN, WITHIN_THE_LAST
# Valid Values: Use Value::ScanDate::FORMAT for date arguments.
# Use FixNum for day arguments.
# Valid Values: Use FixNum for EARLIER_THAN and WITHIN_THE_LAST.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should probably explain why it needs to be a fixnum instead of a date value since it's not spelled out otherwise in the code docs. Just to give a little extra help to newcomers to this stuff.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. Updated.

@gschneider-r7 gschneider-r7 self-assigned this Dec 8, 2016
@gschneider-r7 gschneider-r7 merged commit 6dbea90 into rapid7:master Dec 9, 2016
@nbirnel nbirnel deleted the filter_date_doc branch December 12, 2016 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants