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

Remove -q: option entirely #2378

Closed

Conversation

jackgerrits
Copy link
Member

This can be safely removed as passing -q: will always be correctly interpreted as the standard -q : command. There, since it is inaccessible and deprecated we should remove it.

@@ -661,8 +660,6 @@ void parse_feature_tweaks(options_i& options, vw& all, std::vector<std::string>&
.help("Don't remove interactions with duplicate combinations of namespaces. For ex. this is a "
"duplicate: '-q ab -q ba' and a lot more in '-q ::'."))
.add(make_option("quadratic", quadratics).short_name("q").keep().help("Create and use quadratic features"))
// TODO this option is unused - remove?
.add(make_option("q:", q_colon).help("DEPRECATED ':' corresponds to a wildcard for all printable characters"))
Copy link
Member

Choose a reason for hiding this comment

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

Have we had a major release with this deprecated? If no, I would prefer it if we did not remove it outright, yet.

Copy link
Member Author

Choose a reason for hiding this comment

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

There is no way to actually call it, since -q: gets interpreted as -q :. If you can find a way to hit this code then I will hold off on removing it

Copy link
Member Author

Choose a reason for hiding this comment

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

Nevermind, it is possible to access it. Will close this PR.

@jackgerrits jackgerrits closed this Apr 3, 2020
@jackgerrits jackgerrits deleted the jagerrit/remove_qcolon branch April 15, 2021 12:49
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.

None yet

2 participants