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

add runc features man page #4424

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amghazanfari
Copy link
Contributor

In this pr i put man page for runc-features.

man/runc-features.8.md Outdated Show resolved Hide resolved

# DESCRIPTION
The **features** command show enabled features. If you don't know what
is feature you can check feature's section in runtime-spec in github.
Copy link
Contributor

Choose a reason for hiding this comment

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

This sounds condescending to a reader. It's better to give a brief overview and refer to more documentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure. i'm gonna explain features a little bit and provide more documentation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it ok now?

man/runc-features.8.md Outdated Show resolved Hide resolved
Co-authored-by: Akihiro Suda <suda.kyoto@gmail.com>
Signed-off-by: Amir M. Ghazanfari <a.m.ghazanfari76@gmail.com>
**runc features**

# DESCRIPTION
The **features** command shows the implemented features in JSON format. Features are properties of runc, such as the minimum and maximum accepted OCI versions. The implemented features may not always be available, depending on the kernel version, system libraries, CPU architecture, etc. For more information about features, you can check the features section in the runtime-spec on GitHub.
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. nit: It would be better to limit the width to 79 characters or so.
  2. Add a link to runtime-spec features doc here and/or to SEE ALSO section.

# DESCRIPTION
The **features** command shows the implemented features in JSON format. Features are properties of runc, such as the minimum and maximum accepted OCI versions. The implemented features may not always be available, depending on the kernel version, system libraries, CPU architecture, etc. For more information about features, you can check the features section in the runtime-spec on GitHub.

# PROPERTIES
Copy link
Contributor

Choose a reason for hiding this comment

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

A man header with such name is not standard. Please see man-pages(7) for which sections are recommended. In general, I think, what's below is part of description and doesn't require a separate section.

The **features** command shows the implemented features in JSON format. Features are properties of runc, such as the minimum and maximum accepted OCI versions. The implemented features may not always be available, depending on the kernel version, system libraries, CPU architecture, etc. For more information about features, you can check the features section in the runtime-spec on GitHub.

# PROPERTIES
**ociVersionMin**: Minimum OCI version that runc can accept.
Copy link
Contributor

Choose a reason for hiding this comment

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

This (and below) may benefit from using a list.

Copy link
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

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

Looks much better overall, but still need more work.

A tip: whenever you work on a man page, please always check how the result looks like rendered by man/roff (for this repo it means to check the result of make man && man ./man/man8/runc-features.8).

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.

3 participants