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

Big man pages revamp + some --help fixes #3032

Merged
merged 4 commits into from
Jun 18, 2021
Merged

Conversation

kolyshkin
Copy link
Contributor

@kolyshkin kolyshkin commented Jun 16, 2021

Current runc man pages are ugly (no proper man page formatting)
and very short (mostly just a copy-paste from the runc <command> --help
output. They are also somewhat obsoleted as not all CLI updates
were propagated to man/*.

This commits makes the first step to solving this.

In short:

  • added some more information about some options;
  • removed some redundant information (such as the repeated description of <container_id> from every page);
  • lots of formatting fixes;
  • use references to other man pages and web pages;
  • fix SYNOPSYS (formatting, mostly);
  • added SEE ALSO;
  • something else I forgot.

TODO: remove FIXME from --work-path description as soon as PR #3029 is merged.

Also, some minor fixes to runc * --help.

Here's some before/after comparison:
Screenshot from 2021-06-15 18-03-59

This was removed from runc exec by commit f61c6e4 about 5 years ago,
so it's time to remove it entirely.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Commit 52390d6 made this parameters obsoleted, but they are
still shown in e.g. runc update --help output.

Hide them (and maybe in 5 years we can remove them).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin changed the title --help fixes; big man pages revamp Big man pages revamp + some --help fixes Jun 16, 2021
Current runc man pages are ugly (no proper man page formatting)
and very short (mostly just a copy-paste from the "runc <command>
--help" output. They are also somewhat obsoleted as not all CLI updates
were propagated to man/*.

This commits makes the first step to solving this.

In short:
 - added some more information about some options;
 - lots of formatting fixes;
 - use references to other man pages and web pages;
 - fix SYNOPSYS (formatting, mostly);
 - removed the repeated description of <container_id> from every page;
 - added SEE ALSO;
 - something else I forgot.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Copy link
Member

@cyphar cyphar left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

LGTM

Do we want to merge this before v1.0 GA or after?
(I guess it is safe to merge before v1.0 GA)

@cyphar
Copy link
Member

cyphar commented Jun 18, 2021

We can merge it without issue -- the vote (and release) is on the specific PR commit so this won't be in the 1.0 GA.

@cyphar cyphar closed this in 9f93778 Jun 18, 2021
@cyphar cyphar merged commit 9f93778 into opencontainers:master Jun 18, 2021
@kolyshkin kolyshkin added this to the 1.1.0 milestone Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants