-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
podman-manifest-remove: update docs and help output #23983
podman-manifest-remove: update docs and help output #23983
Conversation
cmd/podman/manifest/remove.go
Outdated
Long: "Removes an image from a manifest list or image index.", | ||
Use: "remove LIST DIGEST", | ||
Short: "Remove an item from a manifest list or image index", | ||
Long: "Removes an item from a manifest list or image index.", | ||
RunE: remove, | ||
Args: cobra.ExactArgs(2), | ||
ValidArgsFunction: common.AutocompleteImages, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a image is not correct then please change the shell completion for images here, I guess we still want the first arg the images to be completed? (is there a way to only list manifest lists for the first arg and no all images? and then if possible provide the autocompletion for the digest as second arg?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, took a run at that.
24bfe5e
to
1c91823
Compare
* podman manifest remove doesn't accept references as descriptions of what to remove from a list or index; only use digests in the man page * podman manifest remove only removes one thing at a time; correct the man page examples Signed-off-by: Nalin Dahyabhai <[email protected]>
1c91823
to
00c13af
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, Luap99, nalind The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
podman manifest remove
doesn't accept references as descriptions of what to remove from a list or index; only use digests in the man pagepodman manifest remove
only removes one thing at a time; correct the man page examplesDoes this PR introduce a user-facing change?