Skip to content

Conversation

@herrenP
Copy link

@herrenP herrenP commented Nov 25, 2025

This will render fine when generating man page files and also when viewed in vscode using "Markdown Preview Enhanced" extension. The built-in preview does not support definition lists. Also, when users are browsing project files in Github and view any of the .md files they will show a colon in front of each explanation unfortunately.

Copy link
Contributor

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

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

https://github.com/containers/skopeo/blob/main/CONTRIBUTING.md#sign-your-prs please, we can’t really even look at PRs with unclear copyright status. Thanks!

@herrenP
Copy link
Author

herrenP commented Nov 26, 2025

https://github.com/containers/skopeo/blob/main/CONTRIBUTING.md#sign-your-prs please, we can’t really even look at PRs with unclear copyright status. Thanks!

Thanks for the reminder. I'll look into it later.

Copy link
Contributor

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

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

Thanks!

**--creds** _username[:password]_ for accessing the registry.
**--creds** _username[:password]_

: For accessing the registry
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that this is not on one line, please use “Credentials for accessing the registry”. Similarly the --…creds and …registry-token (“Bearer token …”) options in skopeo-sync.

docs/skopeo.1.md Outdated

: An image _tag_ in a tar archive compliant with "Open Container Image Layout Specification" at _path_.

See [containers-transports(5)](https://github.com/containers/image/blob/main/docs/containers-transports.5.md) for details.
Copy link
Contributor

Choose a reason for hiding this comment

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

This applies to all of the transports, so it should not be indented as if it were related to only oci-archive:.

- index-only: Copy only the index

The index-only option usually fails unless the referenced per-architecture images are already present in the destination, or the target registry supports sparse indexes.
The index-only option usually fails unless the referenced per-architecture images are already present in the destination, or the target registry supports sparse indexes.
Copy link
Contributor

Choose a reason for hiding this comment

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

Non-blocking: This seems to not be recognized as a part of the --multi-arch section. I don’t know whether that’s possible to cleanly fix — perhaps not easily, guessing https://github.com/cpuguy83/go-md2man/blob/061b6c7cbecd6752049221aa15b7a05160796698/md2man/roff.go#L155 seems to be a special case which doesn’t handle the nested list here.

Copy link
Author

Choose a reason for hiding this comment

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

Non-blocking: This seems to not be recognized as a part of the --multi-arch section. I don’t know whether that’s possible to cleanly fix — perhaps not easily, guessing https://github.com/cpuguy83/go-md2man/blob/061b6c7cbecd6752049221aa15b7a05160796698/md2man/roff.go#L155 seems to be a special case which doesn’t handle the nested list here.

Sorry for being late with the updates. I was in such a rush I forgot to add more details about my changes. Anyway, regarding the inline list, I think I worked around it by simply indenting the list.

Looks OK in my opinion. I hope you agree.

@mtrmac
Copy link
Contributor

mtrmac commented Dec 1, 2025

Other reviewers: highlighting

Also, when users are browsing project files in Github and view any of the .md files they will show a colon in front of each explanation unfortunately.

@mtrmac mtrmac linked an issue Dec 1, 2025 that may be closed by this pull request
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.

Request: indent explanations for options in man pages

2 participants