-
Couldn't load subscription status.
- Fork 2.8k
docs: Add --format flag examples to commands in man pages #26825
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
docs: Add --format flag examples to commands in man pages #26825
Conversation
f81217a to
e1f6053
Compare
|
@Luap99 Can you Please Review and Approve it |
|
@baude can you also review it |
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! Once the CI tests pass. I have a suggestion on how to fix the issue.
| Show machine uptime information: | ||
| ``` | ||
| $ podman machine inspect --format "Created: {{.Created}}\nLast Up: {{.LastUp}}\nState: {{.State}}" | ||
| Created: 2025-02-11 14:12:48.231836 +0530 IST |
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.
Spell check is flagging IST. When I tried UTC instead, it worked. I'm not sure if there's a way to handle IST.
| Created: 2025-02-11 14:12:48.231836 +0530 IST | |
| Created: 2025-02-11 14:12:48.231836 +0530 UCT |
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.
yeah I changed to UTC
| ``` | ||
| $ podman machine inspect --format "Created: {{.Created}}\nLast Up: {{.LastUp}}\nState: {{.State}}" | ||
| Created: 2025-02-11 14:12:48.231836 +0530 IST | ||
| Last Up: 2025-08-12 19:31:19.391294 +0530 IST |
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.
| Last Up: 2025-08-12 19:31:19.391294 +0530 IST | |
| Last Up: 2025-08-12 19:31:19.391294 +0530 UCT |
|
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
1 similar comment
|
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
|
/assign @Luap99 |
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.
Thanks, can you squash your commits into one please.
Also it would be great if you can add Fixes: #26353 into the commit message as well not just the PR description.
| Created: 2025-02-11 14:12:48.231836 +0530 UTC | ||
| Last Up: 2025-08-12 19:31:19.391294 +0530 UTC |
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.
UTC makes no sense with the +0530 time offset. it would also need to show +0000 for actual UTC time.
| Show pod creation time and shared namespaces: | ||
| ``` | ||
| $ podman pod inspect mypod --format "Created: {{.Created}}\nShared: {{.SharedNamespaces}}" | ||
| Created: 2025-08-14 21:16:05.861363099 +0530 UTC |
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.
same thing here
|
Please also update the PR description with the following. I'm not sure if the entire PR description should be included in the release notes. |
Signed-off-by: Raghul-M <raghul.m1430@gmail.com>
4beb731 to
46ee62c
Compare
Done |
|
@Luap99 can you approve and merge this PR |
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
Thanks
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Honny1, Luap99, Raghul-M 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 |
e8a40a3
into
containers:main
Does this PR introduce a user-facing change?
Fixes : #26353