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

Do not show freq parameter on help when not necessary #296

Merged

Conversation

gonzodepedro
Copy link
Contributor

@gonzodepedro gonzodepedro commented Dec 12, 2018

Do not show frequency parameter on image_tools when not necessary. Relate ros2/ros2_documentation#41

@tfoote tfoote added the in review Waiting for review (Kanban column) label Dec 12, 2018
@@ -61,7 +61,9 @@ bool parse_command_options(
ss << " 1 - reliable (default)" << std::endl;
ss << " -d: Depth of the queue: only honored if used together with 'keep last'. " <<
"10 (default)" << std::endl;
ss << " -f: Publish frequency in Hz. 30 (default)" << std::endl;
if( freq != nullptr ){
Copy link
Member

Choose a reason for hiding this comment

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

I would expect this line to fail the linters. Please run the unit tests of the package locally to check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it. Fixed now

Copy link
Member

Choose a reason for hiding this comment

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

I don't see any change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm very sorry. Now it should be fixed.

@dirk-thomas
Copy link
Member

Thank you for the improvement.

@dirk-thomas dirk-thomas merged commit bb0caa2 into ros2:master Jan 8, 2019
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Jan 8, 2019
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

5 participants