Skip to content

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

Merged
cyphar merged 4 commits intoopencontainers:masterfrom
kolyshkin:man
Jun 18, 2021
Merged

Big man pages revamp + some --help fixes#3032
cyphar merged 4 commits intoopencontainers:masterfrom
kolyshkin:man

Conversation

@kolyshkin
Copy link
Copy Markdown
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 force-pushed the man branch 3 times, most recently from eceea5e to 07cdd83 Compare June 16, 2021 01:52
@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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